Skip to content

WebSocketUpgradeOptions

type WebSocketUpgradeOptions<I extends InjectMap = InjectMap> = unknown

The options accepted by the two-arg upgrade registrar: the hook’s own DI map and state provisions.

Learn: Inline handlers