Trait SessionRequest

Source
pub trait SessionRequest {
    // Required method
    fn add_cookies(self, _: Vec<&RawCookie<'static>>) -> Self;
}
Expand description

Trait representing requests which can carry a Cookie header, appropriate for use with a Session

Required Methods§

Source

fn add_cookies(self, _: Vec<&RawCookie<'static>>) -> Self

Add the given set of cookies to the request

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SessionRequest for RequestBuilder

Source§

fn add_cookies(self, cookies: Vec<&RawCookie<'static>>) -> Self

Implementors§