zng_task::http

Type Alias ResponseParts

source
pub type ResponseParts = Parts;
Expand description

Head parts from a split Response.

Aliased Type§

struct ResponseParts {
    pub status: StatusCode,
    pub version: Version,
    pub headers: HeaderMap,
    pub extensions: Extensions,
    /* private fields */
}

Fields§

§status: StatusCode

The response’s status

§version: Version

The response’s version

§headers: HeaderMap

The response’s headers

§extensions: Extensions

The response’s extensions