Searched refs:HttpResponse (Results 1 – 2 of 2) sorted by relevance
154 pub struct HttpResponse { struct162 impl Unmarshal for HttpResponse { implementation164 let mut http_response = HttpResponse::default(); in unmarshal()206 impl Marshal for HttpResponse { implementation238 use super::HttpResponse;528 if let Some(parser) = HttpResponse::unmarshal(response) { in test_parse_http_response()
23 use super::http::{HttpRequest, HttpResponse, Marshal, Unmarshal};469 fn gen_response(status_code: StatusCode) -> HttpResponse { in gen_response() argument476 HttpResponse { in gen_response()484 fn gen_file_response(file_path: &str) -> HttpResponse { in gen_file_response() argument502 async fn send_response(&mut self, response: &HttpResponse) -> Result<(), SessionError> { in send_response()