Struct httparse::Response
[−]
[src]
pub struct Response<'headers, 'buf> { pub version: Option<u8>, pub code: Option<u16>, pub reason: Option<&'buf str>, pub headers: &'headers mut [Header<'buf>], }
A parsed Response.
See Request
docs for explanation of optional values.
Fields
version | The response version, such as |
code | The response code, such as |
reason | The response reason-phrase, such as |
headers | THe response headers. |