Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.core.spi.metrics | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
Modifier and Type | Method and Description |
---|---|
Future<WebSocket> |
HttpClient.webSocket(int port,
String host,
String requestURI)
Like
HttpClient.webSocket(int, String, String, Handler) but returns a Future of the asynchronous result |
Future<WebSocket> |
HttpClient.webSocket(String requestURI)
Like
HttpClient.webSocket(String, Handler) but returns a Future of the asynchronous result |
Future<WebSocket> |
HttpClient.webSocket(String host,
String requestURI)
Like
HttpClient.webSocket(String, String, Handler) but returns a Future of the asynchronous result |
Future<WebSocket> |
HttpClient.webSocket(WebSocketConnectOptions options)
Like
HttpClient.webSocket(WebSocketConnectOptions, Handler) but returns a Future of the asynchronous result |
Future<WebSocket> |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols)
Like
HttpClient.webSocketAbs(String, MultiMap, WebsocketVersion, List, Handler) but returns a Future of the asynchronous result |
Modifier and Type | Method and Description |
---|---|
void |
HttpClient.webSocket(int port,
String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the specified port, host and relative request URI
|
void |
HttpClient.webSocket(String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket at the relative request URI using the default host and port
|
void |
HttpClient.webSocket(String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the host and relative request URI and default port
|
void |
HttpClient.webSocket(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
void |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified absolute url, with the specified headers, using
the specified version of WebSockets, and the specified WebSocket sub protocols.
|
Modifier and Type | Method and Description |
---|---|
default W |
HttpClientMetrics.connected(WebSocket webSocket)
Called when a web socket connects.
|
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocket |
WebSocket.newInstance(WebSocket arg) |
Constructor and Description |
---|
WebSocket(WebSocket delegate) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocket |
WebSocket.newInstance(WebSocket arg) |
Constructor and Description |
---|
WebSocket(WebSocket delegate) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocket |
WebSocket.newInstance(WebSocket arg) |
Constructor and Description |
---|
WebSocket(WebSocket delegate) |
Copyright © 2022 Eclipse. All rights reserved.