Skip to main content

from_http_request

Function from_http_request 

Source
pub async fn from_http_request<B>(
    request: Request<B>,
) -> Result<Request, Box<dyn Error + Sync + Send>>
where B: Body<Data = Bytes>, <B as Body>::Error: Into<Box<dyn Error + Sync + Send>>,
Available on crate feature tower only.
Expand description

An http::Request as an rws request, its body read into memory.