Introduce non-blocking WebSocketContainer.connectToServer #214
Labels
API (Both)
Impacts the client and server API
enhancement
Adding a new feature or improving an existing one
Milestone
WebSocketConatiner.connectToServer currently blocks until handshake response is received, which is not very usable in some cases, like applications with UI etc. connectToServer paralell in java scipt already is non-blocking and seems like it is working very well and users might expect similar behaviour from WebSocket client.
I could see something similar to what is already present, but it would need to return Future and report DeploymentException (and others) via this returned future.
Based on user submission, see https://java.net/jira/browse/TYRUS-243
Affected Versions
[1.0]
The text was updated successfully, but these errors were encountered: