Trait user_agent::SessionResponse
source · pub trait SessionResponse {
fn parse_set_cookie(&self) -> Option<Vec<RawCookie<'static>>>;
fn final_url(&self) -> Option<&Url>;
}
Expand description
Trait representing responses which may have a Set-Cookie header, appropriate
for use with a Session
Required Methods
Parse the Set-Cookie header and return the set of cookies if present