Struct generic_async_http_client::Response [−][src]
pub struct Response(_);
Expand description
The response of a webserver. Headers and Status are available from the start, the body must be polled/awaited again
Implementations
Return the status code
Return the Body as some type deserialized from JSON
If there are multiple values associated with the key, then the first one is returned.
Each key will be yielded once per associated value. So, if a key has 3 associated values, it will be yielded 3 times.