콘텐츠로 이동
한국어

WebsocketConnectHandler

이 콘텐츠는 아직 번역되지 않았습니다.

WebsocketConnectHandler = (system, request, socket) => void

Defined in: src/http/Route.ts:25

Framework-owned entry point for one accepted WebSocket connection. The backend never sees actors — it only hands us the upgrade request and a normalised socket; the closure (built by the websocket() directive) owns the codec, target ref and per-route policy.

ActorSystem

HttpRequest

WebsocketSocketAdapter

void