Skip to main content

response

Function response 

Source
fn response(
    status_code: u16,
    status_text: &'static str,
    content_type: &'static str,
    body: Vec<u8>,
    content_length: u64,
) -> StaticResponse
Expand description

Performs response.