Function cgi::binary_response

source ·
pub fn binary_response<T>(status_code: T, body: Vec<u8>) -> Responsewhere
    StatusCode: HttpTryFrom<T>,
Expand description

Sends blob with that status code.