cleanup, docs
This commit is contained in:
@@ -13,4 +13,4 @@ Returns whether the message currently being handled by `WS(Request& context)` ar
|
||||
If this returns `false`, the current message was delivered as a text frame.
|
||||
|
||||
:example
|
||||
print("ws_is_binary is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
print(ws_is_binary() ? "binary frame" : "text frame (default outside a WS handler)", "\n");
|
||||
|
||||
Reference in New Issue
Block a user