WebSocketHandlerScope
type WebSocketHandlerScope<D extends InjectMap = {}, T extends WebSocketDescriptor = {}> = intersectionThe per-connection DI + config + input surface handed to a function-form WS handler as its second
argument. Declared deps appear by name; config resolves config tokens; input carries the
connect-time { params, query } typed from the route’s descriptor. The WebSocket analog of
HttpHandlerScope.
Learn: Inline handlers