actix_cloud::session

Trait SessionExt

Source
pub trait SessionExt {
    // Required method
    fn get_session(&self) -> Session;
}
Available on crate feature session only.
Expand description

Extract a Session object from various actix-web types (e.g. HttpRequest, ServiceRequest, ServiceResponse).

Required Methods§

Source

fn get_session(&self) -> Session

Extract a Session object.

Implementations on Foreign Types§

Source§

impl SessionExt for HttpRequest

Source§

impl SessionExt for ServiceRequest

Source§

impl SessionExt for ServiceResponse

Source§

impl<'a> SessionExt for GuardContext<'a>

Implementors§