Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4530

Provide a "heart beat"/"ping pong" mechanism for websocket connections

XMLWordPrintable

    • ZK 9.5.0 S1

      Provide a way to inform the client and server side of a ZK application about the current websocket connection reliability/availability.

      E.g. a configurable PING/PONG mechanism with corresponding client side (e.g. zk.watch) and desktop wide server side events (similar to onClientInfo) will give the application the chance to inform the user or the serverside about unreliable/lost connections.

      At the same time keeping the websocket alive, avoiding idle connection timeouts.

      Alternative, idea:

      provide a mechanism to send custom messages from both client and server side over the websocket to implement application specific behaviors.

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Time Spent - 7 hours Remaining Estimate - 2 days, 1 hour
                2d 1h
                Logged:
                Time Spent - 7 hours Remaining Estimate - 2 days, 1 hour
                7h