Struct viz_core::middleware::session::Config
source · pub struct Config<S, G, V>(_);
Available on crate feature
session
only.Expand description
A configuration for SessionMiddleware.
Implementations§
Trait Implementations§
source§impl<S, G, V> Cookieable for Config<S, G, V>
impl<S, G, V> Cookieable for Config<S, G, V>
source§fn options(&self) -> &CookieOptions
fn options(&self) -> &CookieOptions
Available on crate features
cookie-private
and cookie-signed
and cookie
only.Gets the options of the cookie.
Available on crate features
cookie-private
and cookie-signed
and cookie
only.Gets a cookie from the cookies.
Available on crate features
cookie-private
and cookie-signed
and cookie
only.Deletes a cookie from the cookies.
Available on crate features
cookie-private
and cookie-signed
and cookie
only.Sets a cookie from the cookies.