set_keepalive_interval


Description:

public void set_keepalive_interval (uint interval)

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.

Parameters:

this

the WebSocket

interval

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