Interface WebSocketClientProvider
-
public interface WebSocketClientProvider
Provider of a WebSocket clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpWebSocketClient
newClient(ClientTlsOptions tlsOptions, ProxyOptions proxyOptions)
Creates a new WebSocket client.
-
-
-
Method Detail
-
newClient
HttpWebSocketClient newClient(ClientTlsOptions tlsOptions, ProxyOptions proxyOptions) throws IOException
Creates a new WebSocket client.- Parameters:
tlsOptions
- Security settings for the connection (may benull
)proxyOptions
- Proxy settings for the connection (must not benull
)- Returns:
- an
HttpWebSocketClient
implementation - Throws:
IOException
- on any error when creating the WebSocket client
-
-