Type Alias hyper::proto::RequestHead

source ·
pub(crate) type RequestHead = MessageHead<RequestLine>;
Expand description

An incoming request message.

Aliased Type§

struct RequestHead {
    pub(crate) version: Version,
    pub(crate) subject: RequestLine,
    pub(crate) headers: HeaderMap,
    extensions: Extensions,
}

Fields§

§version: Version

HTTP version of the message.

§subject: RequestLine

Subject (request line or status line) of Incoming message.

§headers: HeaderMap

Headers of the Incoming message.

§extensions: Extensions

Extensions.