Expand description
Session middleware utilities for proxy integration.
Provides session ID parsing from the X-Arbiter-Session header and
error-to-status-code mapping. Session constraint validation is performed
directly by the handler stages in crates/arbiter/src/stages/.
Functionsยง
- parse_
session_ header - Extract a session ID from the
X-Arbiter-Sessionheader value. - status_
code_ for_ error - HTTP status code that should be returned for each session error type.