| Modifier and Type | Field and Description |
|---|---|
| private final CloseFuture | |
| private final WebSocketClient | |
| public static final String | |
| private final VertxInternal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close(Handler<AsyncResult<Void>> handler)
Implements io. Close the client. |
| public Future | close()
Implements io. Like |
| public void | connect(WebSocketConnectOptions
the request options options, Handler<AsyncResult<WebSocket>> handler)Implements io. Connect a WebSocket with the specified options. |
| public Future | connect(WebSocketConnectOptions options)
Implements io. Like |
| public boolean | isMetricsEnabled()
Overrides default io. Whether the metrics are enabled for this measured object |
| public Future | updateSSLOptions(SSLOptions
the new SSL options options, boolean force the update when options are equals force)Implements io. Update the client with new SSL |
| public ClientWebSocket | webSocket()
Implements io. Create a WebSocket that is not yet connected to the server. |
| closeFuture | back to summary |
|---|---|
| private final CloseFuture closeFuture | |
| delegate | back to summary |
|---|---|
| private final WebSocketClient delegate | |
| SHARED_MAP_NAME | back to summary |
|---|---|
| public static final String SHARED_MAP_NAME | |
| vertx | back to summary |
|---|---|
| private final VertxInternal vertx | |
| SharedWebSocketClient | back to summary |
|---|---|
| public SharedWebSocketClient(VertxInternal vertx, CloseFuture closeFuture, WebSocketClient delegate) | |
| close | back to summary |
|---|---|
| public void close(Handler<AsyncResult<Void>> handler) Implements io. Doc from io. Close the client. Closing will close down any pooled connections. Clients should always be closed after use.
| |
| close | back to summary |
|---|---|
| public Future Implements io. Doc from io. Like
| |
| connect | back to summary |
|---|---|
| public void connect(WebSocketConnectOptions options, Handler<AsyncResult<WebSocket>> handler) Implements io. Doc from io. Connect a WebSocket with the specified options.
| |
| connect | back to summary |
|---|---|
| public Future Implements io. Doc from io. Like
| |
| isMetricsEnabled | back to summary |
|---|---|
| public boolean isMetricsEnabled() Overrides default io. Doc from io. Whether the metrics are enabled for this measured object
| |
| updateSSLOptions | back to summary |
|---|---|
| public Future Implements io. Doc from io. Update the client with new SSL The
| |
| webSocket | back to summary |
|---|---|
| public ClientWebSocket webSocket() Implements io. Doc from io. Create a WebSocket that is not yet connected to the server.
| |