Aller au contenu
Français

rawCodec

Ce contenu n’est pas encore disponible dans votre langue.

rawCodec(): WebsocketCodec<WebsocketFrame, WebsocketFrame>

Defined in: src/http/websocket/WebsocketCodec.ts:105

Escape-hatch codec: no encoding at all — TOut and TIn are both WebsocketFrame, so the actor sees and sends raw text/binary frames. Use for binary protocols (audio/video) or when you want to own the wire format entirely.

WebsocketCodec<WebsocketFrame, WebsocketFrame>