Skip to content

Commit

Permalink
Add to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardo15 authored Jul 8, 2021
1 parent 0075432 commit 9ed7fef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/WebSocketServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ If true, the server will automatically send a ping to all clients every `keepali
**keepaliveInterval** - uint - *Default: 20000*
The interval in milliseconds to send keepalive pings to connected clients.

**keepaliveForce** - boolean - *Default: false*
if true, the server will not reset the keepalive timer when any data is received from the client, forcing to send the ping on the Interval.

**dropConnectionOnKeepaliveTimeout** - boolean - *Default: true*
If true, the server will consider any connection that has not received any data within the amount of time specified by `keepaliveGracePeriod` after a keepalive ping has been sent. Ignored if `keepalive` is false.

Expand Down

0 comments on commit 9ed7fef

Please sign in to comment.