Open gpadbidri opened 1 year ago
What if the Server Endpoint is an AWS Websocket API Gateway Endpoint ? Will this Java Package still work with remote endpoints?
It should. This Tyrus project implements Jakarta WebSocket Spec, which is the Java APIs for the development of WebSocket applications. WebSocket is defined by RFC 6455. If AWS Websocket API Gateway Endpoint complies with the RFC, it should all work together.
We have a good experience for instance with connection between a Web Browser implementing the WebSocket and Tyrus, I believe AWS would be tested with browsers as well, so I believe it should work fine.
when the connection breaks after timeout
Please see jakarta.websocket.Session#setMaxIdleTimeout
I want to go ahead with this package for my project but before that I want to clarify a few things :
What if the Server Endpoint is an AWS Websocket API Gateway Endpoint ? Will this Java Package still work with remote endpoints ? Any code sample ?
Also is there a provision of connection re-establishment ; meaning when the connection breaks after timeout; would this package re-establish the connection ? Or we have to take care of it ?
Kindly let me know that way. Thanks !