17 lines
252 B
Plaintext
17 lines
252 B
Plaintext
:sig
|
|
u8 ws_opcode()
|
|
|
|
:params
|
|
return value : opcode of the current WebSocket message
|
|
|
|
:desc
|
|
Returns the opcode of the message currently being handled by `WS()`.
|
|
|
|
Common values are:
|
|
|
|
- `0x1` for text messages
|
|
- `0x2` for binary messages
|
|
|
|
:see
|
|
>websocket
|