org.zkoss.zkmax.au.websocket.WebSocketEndPoint.pingIntervalSecond"
From Documentation
(pingIntervalSecond) |
Jumperchen (talk | contribs) (add note about http session keep alive when enables the ping interval mechanism) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
Default: <i>0</i> (Turned off) | Default: <i>0</i> (Turned off) | ||
[Since 9.5.0] | [Since 9.5.0] | ||
+ | |||
+ | 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] | ||
{{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.