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(int 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) |
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,
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,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified options.
|
Observable<WebSocket> |
HttpClient.webSocketObservable(WebSocketConnectOptions options)
Deprecated.
|
Copyright © 2023 Eclipse. All rights reserved.