Crate iron_sessionstorage [] [src]

Modules

backends

You can choose between multiple backends to store your session data. The easiest to manage is SignedCookieBackend. You need to compile with the redis-backend feature to use the Redis backend.

cookie

Re-export of the cookie crate

errors
traits

A module with some important traits to star-import.

Structs

Session

The high-level interface you use to modify session data. You obtain this object with request.session().

SessionStorage

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

Traits

RawSession

A simple key-value storage interface that is internally used by Session. After request handling the write method is called where the session backend has the chance to e.g. set cookies or otherwise modify the response.

SessionBackend
SessionRequestExt

The helper trait to obtain your session data from a request.

Value

A typed interface to the string-to-string mapping. Each type represents a key, each instance of a type can be serialized into a value.