Skip to main content

answer

Function answer 

Source
fn answer(
    status: u16,
    media_type: &str,
    body: Vec<u8>,
) -> Response<Cursor<Vec<u8>>>