Trait actix_session::SessionExt
source · 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§
sourcefn get_session(&self) -> Session
fn get_session(&self) -> Session
Extract a Session
object.