Interface HttpWebSocketClient
- All Superinterfaces:
AutoCloseable
,Closeable
HTTP WebSocket client interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close this WebSocket client.newWebSocket
(WebSocketAdapterConfiguration configuration) Request the client to create a new WebSocket on the given configuration.
-
Method Details
-
newWebSocket
Request the client to create a new WebSocket on the given configuration.- Parameters:
configuration
- options to build the WebSocketAdapter.- Returns:
- new
WebSocketAdapter
instance
-
close
void close()Close this WebSocket client.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-