Module gotham::middleware::session [] [src]

Defines a default session middleware supporting multiple backends

Structs

MemoryBackend

Defines the in-process memory based session storage.

NewSessionMiddleware

Added to a Pipeline, this spawns the per-request SessionMiddleware

SessionCookieConfig

Configuration for how the Set-Cookie header is generated.

SessionData

The wrapping type for application session data.

SessionIdentifier

Represents the session identifier which is held in the user agent's session cookie.

SessionMiddleware

The per-request value which deals with sessions

Enums

SessionError

The kind of failure which occurred trying to perform a session operation.

Traits

Backend

A Backend receives session data and stores it, and recalls the session data subsequently.

NewBackend

Creates new Backend values.