Function to_http_request

Source
pub async fn to_http_request(
    req: Request<Incoming>,
) -> Result<HttpRequest, Box<dyn Error + Send + Sync>>