Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.http | |
io.vertx.reactivex.core | |
io.vertx.rxjava.core | |
io.vertx.rxjava3.core |
Modifier and Type | Method and Description |
---|---|
WebSocketClient |
Vertx.createWebSocketClient(WebSocketClientOptions options)
Create a WebSocket client using the specified options
|
Modifier and Type | Method and Description |
---|---|
WebSocketClientOptions |
WebSocketClientOptions.addCrlPath(String crlPath) |
WebSocketClientOptions |
WebSocketClientOptions.addCrlValue(Buffer crlValue) |
WebSocketClientOptions |
WebSocketClientOptions.addEnabledCipherSuite(String suite) |
WebSocketClientOptions |
WebSocketClientOptions.addEnabledSecureTransportProtocol(String protocol) |
WebSocketClientOptions |
WebSocketClientOptions.addNonProxyHost(String host) |
WebSocketClientOptions |
WebSocketClientOptions.removeEnabledCipherSuite(String suite) |
WebSocketClientOptions |
WebSocketClientOptions.setActivityLogDataFormat(ByteBufFormat activityLogDataFormat) |
WebSocketClientOptions |
WebSocketClientOptions.setClosingTimeout(int closingTimeout)
Set the amount of time a client WebSocket will wait until it closes the TCP connection after receiving a close frame.
|
WebSocketClientOptions |
WebSocketClientOptions.setCompressionAllowClientNoContext(boolean offer)
Set whether the
client_no_context_takeover parameter of the WebSocket per-message
deflate compression extension will be offered. |
WebSocketClientOptions |
WebSocketClientOptions.setCompressionLevel(int compressionLevel)
Set the WebSocket deflate compression level.
|
WebSocketClientOptions |
WebSocketClientOptions.setCompressionRequestServerNoContext(boolean offer)
Set whether the
server_no_context_takeover parameter of the WebSocket per-message
deflate compression extension will be offered. |
WebSocketClientOptions |
WebSocketClientOptions.setConnectTimeout(int connectTimeout) |
WebSocketClientOptions |
WebSocketClientOptions.setDefaultHost(String defaultHost)
Set the default host name to be used by this client in requests if none is provided when making the request.
|
WebSocketClientOptions |
WebSocketClientOptions.setDefaultPort(int defaultPort)
Set the default port to be used by this client in requests if none is provided when making the request.
|
WebSocketClientOptions |
WebSocketClientOptions.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) |
WebSocketClientOptions |
WebSocketClientOptions.setIdleTimeout(int idleTimeout) |
WebSocketClientOptions |
WebSocketClientOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) |
WebSocketClientOptions |
WebSocketClientOptions.setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setKeyCertOptions(KeyCertOptions options) |
WebSocketClientOptions |
WebSocketClientOptions.setKeyStoreOptions(JksOptions options)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setLocalAddress(String localAddress) |
WebSocketClientOptions |
WebSocketClientOptions.setLogActivity(boolean logEnabled) |
WebSocketClientOptions |
WebSocketClientOptions.setMaxConnections(int maxConnections)
Set the max number of WebSockets per endpoint.
|
WebSocketClientOptions |
WebSocketClientOptions.setMaxFrameSize(int maxFrameSize)
Set the max WebSocket frame size
|
WebSocketClientOptions |
WebSocketClientOptions.setMaxMessageSize(int maxMessageSize)
Set the max WebSocket message size
|
WebSocketClientOptions |
WebSocketClientOptions.setMetricsName(String metricsName) |
WebSocketClientOptions |
WebSocketClientOptions.setName(String name)
Set the client name, used when the client is shared, otherwise ignored.
|
WebSocketClientOptions |
WebSocketClientOptions.setNonProxyHosts(List<String> nonProxyHosts) |
WebSocketClientOptions |
WebSocketClientOptions.setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setPemKeyCertOptions(PemKeyCertOptions options)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setPemTrustOptions(PemTrustOptions options)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setPfxKeyCertOptions(PfxOptions options)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setPfxTrustOptions(PfxOptions options)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setProxyOptions(ProxyOptions proxyOptions) |
WebSocketClientOptions |
WebSocketClientOptions.setReadIdleTimeout(int idleTimeout) |
WebSocketClientOptions |
WebSocketClientOptions.setReceiveBufferSize(int receiveBufferSize) |
WebSocketClientOptions |
WebSocketClientOptions.setReuseAddress(boolean reuseAddress) |
WebSocketClientOptions |
WebSocketClientOptions.setReusePort(boolean reusePort) |
WebSocketClientOptions |
WebSocketClientOptions.setSendBufferSize(int sendBufferSize) |
WebSocketClientOptions |
WebSocketClientOptions.setSendUnmaskedFrames(boolean sendUnmaskedFrames)
Set
true when the client wants to skip frame masking. |
WebSocketClientOptions |
WebSocketClientOptions.setShared(boolean shared)
Set to
true to share the client. |
WebSocketClientOptions |
WebSocketClientOptions.setSoLinger(int soLinger) |
WebSocketClientOptions |
WebSocketClientOptions.setSsl(boolean ssl) |
WebSocketClientOptions |
WebSocketClientOptions.setSslEngineOptions(SSLEngineOptions sslEngineOptions) |
WebSocketClientOptions |
WebSocketClientOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) |
WebSocketClientOptions |
WebSocketClientOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) |
WebSocketClientOptions |
WebSocketClientOptions.setTcpCork(boolean tcpCork) |
WebSocketClientOptions |
WebSocketClientOptions.setTcpFastOpen(boolean tcpFastOpen) |
WebSocketClientOptions |
WebSocketClientOptions.setTcpKeepAlive(boolean tcpKeepAlive) |
WebSocketClientOptions |
WebSocketClientOptions.setTcpNoDelay(boolean tcpNoDelay) |
WebSocketClientOptions |
WebSocketClientOptions.setTcpQuickAck(boolean tcpQuickAck) |
WebSocketClientOptions |
WebSocketClientOptions.setTcpUserTimeout(int tcpUserTimeout) |
WebSocketClientOptions |
WebSocketClientOptions.setTrafficClass(int trafficClass) |
WebSocketClientOptions |
WebSocketClientOptions.setTrustAll(boolean trustAll) |
WebSocketClientOptions |
WebSocketClientOptions.setTrustOptions(TrustOptions options) |
WebSocketClientOptions |
WebSocketClientOptions.setTrustStoreOptions(JksOptions options)
Deprecated.
|
WebSocketClientOptions |
WebSocketClientOptions.setTryUsePerFrameCompression(boolean offer)
Set whether the client will offer the WebSocket per-frame deflate compression extension.
|
WebSocketClientOptions |
WebSocketClientOptions.setTryUsePerMessageCompression(boolean offer)
Set whether the client will offer the WebSocket per-message deflate compression extension.
|
WebSocketClientOptions |
WebSocketClientOptions.setUseAlpn(boolean useAlpn) |
WebSocketClientOptions |
WebSocketClientOptions.setVerifyHost(boolean verifyHost)
Set whether hostname verification is enabled
|
WebSocketClientOptions |
WebSocketClientOptions.setWriteIdleTimeout(int idleTimeout) |
Constructor and Description |
---|
WebSocketClientOptions(WebSocketClientOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
WebSocketClient |
Vertx.createWebSocketClient(WebSocketClientOptions options)
Create a WebSocket client using the specified options
|
Modifier and Type | Method and Description |
---|---|
WebSocketClient |
Vertx.createWebSocketClient(WebSocketClientOptions options)
Create a WebSocket client using the specified options
|
Modifier and Type | Method and Description |
---|---|
WebSocketClient |
Vertx.createWebSocketClient(WebSocketClientOptions options)
Create a WebSocket client using the specified options
|
Copyright © 2024 Eclipse. All rights reserved.