pub fn request(req: Request<Option<Bytes>>) -> Result<Response, Error>
Expand description

Send an HTTP request. The function returns a Response object, that includes the status, as well as methods to access the headers and the body.