Package io.karatelabs.http
Class WsClientOptions
java.lang.Object
io.karatelabs.http.WsClientOptions
Configuration for WebSocket client connections using builder pattern.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WsClientOptions.Builderstatic WsClientOptions.BuildergetHost()intintgetPort()io.netty.handler.ssl.SslContextgetUri()booleanbooleanisSsl()boolean
-
Method Details
-
builder
-
builder
-
getUri
-
getHost
-
getPort
public int getPort() -
isSsl
public boolean isSsl() -
getHeaders
-
getSubProtocol
-
isCompression
public boolean isCompression() -
getMaxPayloadSize
public int getMaxPayloadSize() -
getConnectTimeout
-
getPingInterval
-
isTrustAllCerts
public boolean isTrustAllCerts() -
getSslContext
public io.netty.handler.ssl.SslContext getSslContext() -
getCallbackExecutor
-
getMessageListener
-
getCloseListener
-
getErrorListener
-