Function response_json

Source
pub fn response_json(
    body_text: String,
    status_code: StatusCode,
) -> Result<HttpResonse>