WebsocketConnection.setKeepaliveInterval

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.

class WebsocketConnection
void
setKeepaliveInterval
()

Parameters

interval uint

the interval to send a ping message or 0 to disable it

Meta

Since

2.58