Home
last modified time | relevance | path

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

/xiu/protocol/hls/src/
H A Dserver.rs4 Body, Request, Response, Server, StatusCode,
14 async fn handle_connection(req: Request<Body>) -> Result<Response<Body>> { in handle_connection() argument
53 fn not_found() -> Response<Body> { in not_found()
60 async fn simple_file_send(filename: &str) -> Result<Response<Body>> { in simple_file_send() argument
65 let body = Body::wrap_stream(stream); in simple_file_send()
/xiu/protocol/httpflv/src/
H A Dserver.rs7 Body, Request, Response, Server, StatusCode,
18 req: Request<Body>, in handle_connection() argument
21 ) -> Result<Response<Body>> { in handle_connection() argument
49 let mut resp = Response::new(Body::wrap_stream(http_response_data_consumer)); in handle_connection()