Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http |
Modifier and Type | Method and Description |
---|---|
WebSocketConnectOptions |
WebSocketConnectOptions.addHeader(String key,
String value) |
WebSocketConnectOptions |
WebSocketConnectOptions.addSubProtocol(String subprotocol)
Add a WebSocket sub protocol to use.
|
WebSocketConnectOptions |
WebSocketConnectOptions.setHeaders(MultiMap headers) |
WebSocketConnectOptions |
WebSocketConnectOptions.setHost(String host) |
WebSocketConnectOptions |
WebSocketConnectOptions.setPort(Integer port) |
WebSocketConnectOptions |
WebSocketConnectOptions.setSsl(Boolean ssl) |
WebSocketConnectOptions |
WebSocketConnectOptions.setSubProtocols(List<String> subProtocols)
Set the WebSocket sub protocols to use.
|
WebSocketConnectOptions |
WebSocketConnectOptions.setURI(String uri) |
WebSocketConnectOptions |
WebSocketConnectOptions.setVersion(WebsocketVersion version)
Set the WebSocket version.
|
Modifier and Type | Method and Description |
---|---|
static void |
WebSocketConnectOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
WebSocketConnectOptions obj) |
static void |
WebSocketConnectOptionsConverter.toJson(WebSocketConnectOptions obj,
JsonObject json) |
static void |
WebSocketConnectOptionsConverter.toJson(WebSocketConnectOptions obj,
Map<String,Object> json) |
Future<WebSocket> |
HttpClient.webSocket(WebSocketConnectOptions options)
Like
HttpClient.webSocket(WebSocketConnectOptions, Handler) but returns a Future of the asynchronous result |
void |
HttpClient.webSocket(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
Constructor and Description |
---|
WebSocketConnectOptions(WebSocketConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
Single<WebSocket> |
HttpClient.rxWebSocket(WebSocketConnectOptions options)
Connect a WebSocket with the specified options.
|
void |
HttpClient.webSocket(WebSocketConnectOptions options)
Connect a WebSocket with the specified options.
|
void |
HttpClient.webSocket(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
Modifier and Type | Method and Description |
---|---|
Single<WebSocket> |
HttpClient.rxWebSocket(WebSocketConnectOptions options)
Connect a WebSocket with the specified options.
|
void |
HttpClient.webSocket(WebSocketConnectOptions options)
Connect a WebSocket with the specified options.
|
void |
HttpClient.webSocket(WebSocketConnectOptions options,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
Copyright © 2020 Eclipse. All rights reserved.