cleanup, docs
This commit is contained in:
@@ -15,4 +15,5 @@ For text frames this is the decoded text payload. For binary frames this `String
|
||||
Use `ws_is_binary()` or `ws_opcode()` to choose how to parse the payload.
|
||||
|
||||
:example
|
||||
print("ws_message is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
// Inside a WS message handler ws_message() returns the current frame payload.
|
||||
print("payload length in this non-WS context: ", ws_message().length(), "\n");
|
||||
|
||||
Reference in New Issue
Block a user