Module gotham::middleware::session

source ·
Expand description

Defines a session middleware with a pluggable backend.

Structs§

  • Defines the in-process memory based session storage.
  • Added to a Pipeline, this spawns the per-request SessionMiddleware
  • The wrapping type for application session data.
  • Represents the session identifier which is held in the user agent’s session cookie.
  • The per-request value which provides session storage for other middleware and handlers.

Enums§

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

Traits§

  • A Backend receives session data and stores it, and recalls the session data subsequently.
  • A type which is used to spawn new Backend values.

Type Aliases§