Skip to main content

Module session

Module session 

Source
Expand description

Session subsystem. Thin wrapper around tower-sessions.

Structs§

MemoryStore
A session store that lives only in memory.
Session
A session which allows HTTP applications to associate key-value pairs with visitors.
SessionManagerLayer
A layer for providing Session as a request extension.

Enums§

SameSite
The SameSite cookie attribute.

Constants§

ERRORS_KEY
FLASH_KEY

Functions§

build_layer
flash
Insert a flash message — read by the next request, then cleared.
take_flash