1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 04:00:30 +00:00

Added binary flag to websocket_message docs

This commit is contained in:
JackMacWindows 2021-09-23 15:20:19 -04:00 committed by GitHub
parent 647902c019
commit 6c6b2c2ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ This event is normally handled by @{http.Websocket.receive}, but it can also be
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: