mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-07-07 20:34:25 +00:00
Merge pull request #927 from MCJack123/patch-8
Added binary flag to websocket_message docs
This commit is contained in:
commit
5facbca2b3
|
@ -10,6 +10,7 @@ ## Return Values
|
||||||
1. @{string}: The event name.
|
1. @{string}: The event name.
|
||||||
2. @{string}: The URL of the WebSocket.
|
2. @{string}: The URL of the WebSocket.
|
||||||
3. @{string}: The contents of the message.
|
3. @{string}: The contents of the message.
|
||||||
|
4. @{boolean}: Whether this is a binary message.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
Prints a message sent by a WebSocket:
|
Prints a message sent by a WebSocket:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user