mirror of
https://github.com/defold/extension-websocket.git
synced 2025-09-27 07:52:18 +02:00
Issue 11: Added support for both binary and text frames
This commit is contained in:
@@ -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: |-
|
||||
|
Reference in New Issue
Block a user