org.zkoss.zkmax.au.websocket.WebSocketEndPoint.pingIntervalSecond"
From Documentation
Jumperchen (talk | contribs) (change spec. on ZK 9.6.1) |
Jumperchen (talk | contribs) (add note about http session keep alive when enables the ping interval mechanism) |
||
Line 9: | Line 9: | ||
Default: <i>25</i> (Turned on) | Default: <i>25</i> (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] | [Since 9.6.1] | ||
{{ZK EE}} | {{ZK EE}} |
Latest revision as of 02:07, 16 November 2021
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.