changing doc format and HTML literals

This commit is contained in:
udo
2026-04-22 01:56:46 +00:00
parent 8223dcc6b3
commit f7b066b374
123 changed files with 1917 additions and 1611 deletions
+11 -10
View File
@@ -4,16 +4,17 @@ String ws_message()
:params
return value : payload of the current WebSocket message
:desc
Returns the payload of the current WebSocket message being handled by `WS(Request& context)`.
For text frames this is the decoded text payload. For binary frames this String contains the raw message bytes.
Use `ws_is_binary()` or `ws_opcode()` to decide how the payload should be interpreted.
:see
>websocket
:related
**PHP:** WebSocket connection metadata and send APIs in Ratchet, Workerman, or similar server frameworks
**JavaScript / Node.js:** Browser `WebSocket` properties and Node `ws` server-side connection inspection and send methods
:content
Returns the payload of the current WebSocket message being handled by `WS(Request& context)`.
For text frames this is the decoded text payload. For binary frames this `String` contains the raw message bytes.
Use `ws_is_binary()` or `ws_opcode()` to decide how the payload should be interpreted.
Related:
- PHP: WebSocket connection metadata and send APIs in Ratchet, Workerman, or similar server frameworks
- JavaScript / Node.js: browser `WebSocket` properties and Node `ws` server-side connection inspection and send methods