Sets the interval in seconds on when to send a ping message which will serve as a keepalive message.
If set to 0 the keepalive message is disabled.
this |
the WebSocket |
interval |
the interval to send a ping message or 0 to disable it |