org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection"

From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection {{GlobalLibraryProperty}} Default: <i>true</i> [Since 9...")
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
  Default: <i>true</i>
 
  Default: <i>true</i>
[Since 9.6.1]
+
{{versionSince| 9.6.1}}
 
{{ZK EE}}
 
{{ZK EE}}
  
Specifies it to enable or not for the websocket client reconnection mechansim.
+
Specifies whether to enable or not for the WebSocket client reconnection mechanism.
  
 
Only works when WebSocket connection is enabled.
 
Only works when WebSocket connection is enabled.
 +
 +
When ZK reconnects a 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}}

Latest revision as of 04:35, 13 July 2023


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection
org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection


Property: org.zkoss.zkmax.au.websocket.WebSocketEndPoint.reconnection

Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: true

Since 9.6.1

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png

Specifies whether to enable or not for the WebSocket client reconnection mechanism.

Only works when WebSocket connection is enabled.

When ZK reconnects a 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: 



Last Update : 2023/07/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.