trying to port web app starter from PHP
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
: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(Request& context)`.
|
||||
|
||||
Common values are:
|
||||
|
||||
- `0x1` for text messages
|
||||
- `0x2` for binary messages
|
||||
|
||||
:see
|
||||
>websocket
|
||||
Reference in New Issue
Block a user