Struct minreq::Response [] [src]

pub struct Response {
    pub status_code: i32,
    pub reason_phrase: String,
    pub headers: HashMap<String, String>,
    pub body: String,
}

An HTTP response.

Fields

The status code of the response, eg. 404.

The reason phrase of the response, eg. "Not Found".

The headers of the response.

The body of the response.

Trait Implementations

Auto Trait Implementations

impl Send for Response

impl Sync for Response