set_keepalive_interval


Description:

[ Version ( since = "2.58" ) ]
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




2022 vala-language.org