Struct wclient::Response [−][src]
pub struct Response { /* fields omitted */ }Expand description
HTTP Response An HTTP Response is formed by:
- Status code
- (optional) Response headers
- (optional) Server’s cookies (header
Set-Cookie) - (optional) Response body
For mor information see HTTP Response
Implementations
Response default constructor, only sets the status code. After constructing the value, as struct members are public, they can be accessed directly
Get the Response status code
Get Request Cookies.