[−][src]Trait user_agent::SessionResponse
Trait representing responses which may have a Set-Cookie header, appropriate
for use with a Session
Required methods
fn parse_set_cookie(&self) -> Option<Vec<RawCookie<'static>>>
Parse the Set-Cookie header and return the set of cookies if present
fn final_url(&self) -> Option<&Url>
Return the final Url for the response. In cases such as redirects,
such Url may differ from the Request Url. May return None
if unavailable.
Implementations on Foreign Types
impl SessionResponse for Response
[src]
impl SessionResponse for Response
fn parse_set_cookie(&self) -> Option<Vec<RawCookie<'static>>> | [src] |
fn final_url(&self) -> Option<&Url> | [src] |