Skip to content

Documents for @litert/websocket / Decl / IMessage

Interface: IMessage ​

Defined in: src/lib/Decl.ts:28

The base interface of received websocket message.

Extended by ​

Properties ​

mode ​

mode: EFrameReceiveMode

Defined in: src/lib/Decl.ts:33

The mode of receiving these frames.


opcode ​

opcode: EOpcode

Defined in: src/lib/Decl.ts:38

The type of this message.