Skip to content

HandlerOptions

Options for the HTTP handler.

optional maxInputLength?: number

Maximum input string length in characters. Default: 100000.


optional maxSessions?: number

Maximum number of concurrent sessions. New sessions are rejected when limit is reached. Default: 10000.


optional sessionIdHeader?: string

Header name for session ID. Default: "x-session-id".


optional sessionTtlMs?: number

Session TTL in milliseconds. Sessions are evicted after this period of inactivity. Default: 1800000 (30 min).