cleanup, docs
This commit is contained in:
@@ -16,4 +16,5 @@ Common values are:
|
||||
- `0x2` for binary messages
|
||||
|
||||
:example
|
||||
print("ws_opcode is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
// ws_opcode() returns the WebSocket frame opcode (1 text, 2 binary, 8 close, ...).
|
||||
print("opcode: ", (u64)ws_opcode(), " (0 outside a WS frame)\n");
|
||||
|
||||
Reference in New Issue
Block a user