mirror of
https://github.com/defold/extension-websocket.git
synced 2025-09-27 07:52:18 +02:00
Issue 13: Added support for connect sequence timeout
Decreased the select timeout when reading headers Don't call callback with DISCONNECTED if the connection was never connected
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
type: table
|
||||
desc: optional parameters as properties. The following parameters can be set
|
||||
members:
|
||||
- name: timeout
|
||||
type: number
|
||||
desc: Timeout for the connection sequence (milliseconds)
|
||||
|
||||
- name: callback
|
||||
type: function
|
||||
|
Reference in New Issue
Block a user