Trait reqwest::cookie::CookieStore
source · [−]pub trait CookieStore: Send + Sync {
fn set_cookies(
&self,
cookie_headers: &mut dyn Iterator<Item = &HeaderValue>,
url: &Url
);
fn cookies(&self, url: &Url) -> Option<HeaderValue>;
}
Expand description
Actions for a persistent cookie store providing session support.
Required methods
Store a set of Set-Cookie header values received from url
Get any Cookie values in the store for url