Issue 11: Added support for both binary and text frames

This commit is contained in:
JCash
2020-10-17 10:28:19 +02:00
parent ba2b8e4a69
commit 9d1ace0a82
5 changed files with 49 additions and 22 deletions

View File

@@ -113,6 +113,17 @@
- name: message
type: string
desc: the message to send
- name: options
type: table
desc: options for this particular message. May be `nil`
members:
- name: type
type: number
desc: The data type of the message
- `websocket.DATA_TYPE_BINARY` (default)
- `websocket.DATA_TYPE_TEXT`
examples:
- desc: |-