Skip to main content

to_http_response

Function to_http_response 

Source
pub fn to_http_response(response: Response) -> Response<Body>
Available on crate feature tower only.
Expand description

An rws response as an http::Response: buffered bodies in one frame, files and pipes streamed (read on the rws-tower blocking pool), with Response::trailers after them.