Struct iron_sessionstorage::SessionStorage [] [src]

pub struct SessionStorage<B: SessionBackend> { /* fields omitted */ }

The most important type, the middleware you need to register.

First parameter is a session backend, which determines how your session data is actually stored. Depending on whether you store your data clientside (signed cookies) or serverside (e.g. Redis and a session key) you're going to have different security properties.

Methods

impl<B: SessionBackend> SessionStorage<B>
[src]

Trait Implementations

impl<B: SessionBackend> AroundMiddleware for SessionStorage<B>
[src]

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