Skip to main content

http_json_response

Function http_json_response 

Source
fn http_json_response(
    status_code: u16,
    status_text: &str,
    body: &str,
    method: &str,
) -> Vec<u8> ⓘ
Expand description

Performs HTTP JSON response.