Struct poem::session::CookieSession [−][src]
pub struct CookieSession { /* fields omitted */ }
This is supported on crate feature
session
only.Expand description
Middleware for client-side(cookie) session.
Implementations
Create a CookieSession
middleware.
It stores the session data in a single cookie, and the serialized session data cannot exceed 4k bytes.
Trait Implementations
type Output = CookieJarManagerEndpoint<CookieSessionEndpoint<E>>
type Output = CookieJarManagerEndpoint<CookieSessionEndpoint<E>>
New endpoint type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CookieSession
impl Send for CookieSession
impl Sync for CookieSession
impl Unpin for CookieSession
impl UnwindSafe for CookieSession
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more