Struct gotham::middleware::session::SessionMiddleware [] [src]

pub struct SessionMiddleware<B, T> where
    B: Backend,
    T: Default + Serialize + for<'de> Deserialize<'de> + Send + 'static, 
{ /* fields omitted */ }

The per-request value which deals with sessions

See NewSessionMiddleware for usage details.

Trait Implementations

impl<B, T> Middleware for SessionMiddleware<B, T> where
    B: Backend + Send + 'static,
    T: Default + Serialize + for<'de> Deserialize<'de> + Send + 'static, 
[src]

Entry point to the middleware. To pass the request on to the application, the middleware invokes the chain function with the provided state and request. Read more