Zum Inhalt springen
Deutsch

WebsocketConnectHandler

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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