org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection"
From Documentation
Jumperchen (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection {{GlobalLibraryProperty}} Default: <i>true</i> [Since 9...") |
|||
Line 12: | Line 12: | ||
Only works when WebSocket connection is enabled. | Only works when WebSocket connection is enabled. | ||
+ | |||
+ | When ZK reconnects the server and fails, the browser console will show the error like: | ||
+ | zk.wpd:48603 WebSocket connection to 'ws://192.168.0.5:8080/yourapp/zkwm?dtid=z_36yyy9abcdabde9H8npff8Ew' failed: | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Revision as of 04:30, 11 January 2022
Property:
org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: true [Since 9.6.1]
- Available for ZK:
Specifies it to enable or not for the websocket client reconnection mechansim.
Only works when WebSocket connection is enabled.
When ZK reconnects the server and fails, the browser console will show the error like:
zk.wpd:48603 WebSocket connection to 'ws://192.168.0.5:8080/yourapp/zkwm?dtid=z_36yyy9abcdabde9H8npff8Ew' failed: