pub type Request = Request<BoxedStream>;Available on crate feature 
blocking only.Expand description
Type alias for blocking HTTP requests.
Aliased Type§
pub struct Request {
    pub method: Method,
    pub relative_uri: Cow<'static, str>,
    pub additional_headers: Vec<(Cow<'static, str>, Cow<'static, str>)>,
    pub body: Option<Body<BoxedStream>>,
}Fields§
§method: MethodThe HTTP method for this request
relative_uri: Cow<'static, str>The URI for this request, can be absolute or relative
additional_headers: Vec<(Cow<'static, str>, Cow<'static, str>)>Additional HTTP headers to include with this request
body: Option<Body<BoxedStream>>Optional request body