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
status_code: i32
The status code of the response, eg. 404.
reason_phrase: String
The reason phrase of the response, eg. "Not Found".
headers: HashMap<String, String>
The headers of the response.
body: String
The body of the response.