(ixwebsocket) Expose setHandshakeTimeout method
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
|
||||
All changes to this project will be documented in this file.
|
||||
|
||||
## [11.0.9] - 2021-03-07
|
||||
|
||||
(ixwebsocket) Expose setHandshakeTimeout method
|
||||
|
||||
## [11.0.8] - 2020-12-25
|
||||
|
||||
(ws) trim ws dependencies no more ixcrypto and ixcore deps
|
||||
|
@ -263,6 +263,15 @@ webSocket.setMaxWaitBetweenReconnectionRetries(5 * 1000); // 5000ms = 5s
|
||||
uint32_t m = webSocket.getMaxWaitBetweenReconnectionRetries();
|
||||
```
|
||||
|
||||
## Handshake timeout
|
||||
|
||||
You can control how long to wait until timing out while waiting for the websocket handshake to be performed.
|
||||
|
||||
```
|
||||
int handshakeTimeoutSecs = 1;
|
||||
setHandshakeTimeout(handshakeTimeoutSecs);
|
||||
```
|
||||
|
||||
## WebSocket server API
|
||||
|
||||
### Legacy api
|
||||
|
Reference in New Issue
Block a user