Interface HttpWebSocketClient
-
- All Superinterfaces:
AutoCloseable
,Closeable
public interface HttpWebSocketClient extends Closeable
HTTP WebSocket client interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close this WebSocket client.WebSocketAdapter
newWebSocket(WebSocketAdapterConfiguration configuration)
Request the client to create a new WebSocket on the given configuration.
-
-
-
Method Detail
-
newWebSocket
WebSocketAdapter newWebSocket(WebSocketAdapterConfiguration configuration)
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
-
-