org.zkoss.zkmax.au.websocket.WebSocketEndPoint.pingIntervalSecond
From Documentation
Revision as of 02:07, 16 November 2021 by Jumperchen (talk | contribs) (add note about http session keep alive when enables the ping interval mechanism)
Property:
org.zkoss.zkmax.au.websocket.WebSocketEndPoint.pingIntervalSecond
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: 0 (Turned off) [Since 9.5.0]
Default: 25 (Turned on) It means the http session will keep alive during the ping and pong mechanism until the user closes the browser tab or navigates to another browser page. [Since 9.6.1]
- Available for ZK:
It specifies the interval in second of the ping mechanism described in RFC 6455 when WebSocket connection is enabled.
Only works when WebSocket connection is enabled.