Home
last modified time | relevance | path

Searched refs:HttpResponse (Results 1 – 2 of 2) sorted by relevance

/xiu/protocol/webrtc/src/http/
H A Dmod.rs154 pub struct HttpResponse { struct
162 impl Unmarshal for HttpResponse { implementation
164 let mut http_response = HttpResponse::default(); in unmarshal()
206 impl Marshal for HttpResponse { implementation
238 use super::HttpResponse;
528 if let Some(parser) = HttpResponse::unmarshal(response) { in test_parse_http_response()
/xiu/protocol/webrtc/src/session/
H A Dmod.rs23 use super::http::{HttpRequest, HttpResponse, Marshal, Unmarshal};
469 fn gen_response(status_code: StatusCode) -> HttpResponse { in gen_response() argument
476 HttpResponse { in gen_response()
484 fn gen_file_response(file_path: &str) -> HttpResponse { in gen_file_response() argument
502 async fn send_response(&mut self, response: &HttpResponse) -> Result<(), SessionError> { in send_response()