Interface HttpWebSocketClient
- All Superinterfaces:
AutoCloseable,Closeable
HTTP WebSocket client interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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
WebSocketAdapterinstance
-
close
void close()Close this WebSocket client.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-