Struct secure_session::middleware::SessionMiddleware [] [src]

pub struct SessionMiddleware<V, K, S> where
    V: Serialize + DeserializeOwned + 'static,
    K: Key<Value = V>,
    S: SessionManager<V>, 
{ /* fields omitted */ }

Middleware for automatic session management.

Methods

impl<V: Serialize + DeserializeOwned + 'static, K: Key<Value = V>, S: SessionManager<V>> SessionMiddleware<V, K, S>
[src]

[src]

Create a new SessionMiddleware for the given SessionManager and SessionConfig.

Trait Implementations

impl<V: Serialize + DeserializeOwned + 'static, K: Key<Value = V>, S: SessionManager<V> + 'static> AroundMiddleware for SessionMiddleware<V, K, S> where
    SessionHandler<V, K, S>: Handler
[src]

[src]

Produce a Handler from this AroundMiddleware given another Handler. Read more