pub trait SessionExt {
    // Required method
    fn get_session(&self) -> Session;
}
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 ServiceResponse

source§

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

source§

impl SessionExt for ServiceRequest

Implementors§