Please correct me if I'm wrong that Transport.WEBSOCKET_XHR
means that browser asks server via XmlHttpRequest
(AJAX) and server responds to the browser via websocket.
So, with Transport.WEBSOCKET_XHR
, is there any out-of-the-box functionality available in Vaadin to check if a web socket is still alive before an XHR request, like (ping pong)? If there is no such functionality, how can I implement it myself?
If no, do we have such validation for pure full-duplex websocket implementation with Transport.WEBSOCKET
? Will Vaadin effectively detect dead websocket on the initial call to server with Transport.WEBSOCKET
?