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§
Sourcefn get_session(&self) -> Session
fn get_session(&self) -> Session
Extract a Session
object.