Type Alias hyper::proto::ResponseHead

source ·
pub(crate) type ResponseHead = MessageHead<StatusCode>;
Expand description

An incoming response message.

Aliased Type§

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

Fields§

§version: Version

HTTP version of the message.

§subject: StatusCode

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

§headers: HeaderMap

Headers of the Incoming message.

§extensions: Extensions

Extensions.