Introduce property for setting a connection timeout to the client side API #234
Labels
API (Both)
Impacts the client and server API
enhancement
Adding a new feature or improving an existing one
Milestone
When using the JSR356 WebSocket Client side API to connect to a server:
javax.websocket.WebSocketContainer.connectToServer(...)
there is no way to specify a connection timeout. The method connectToServer() will block until it establishes a connection (which may never happen).
Some implementations (Tyrus, Jetty) provide their own specific ways to do this, but the spec does not.
Affected Versions
[1.1]
The text was updated successfully, but these errors were encountered: