## Uses of Interface
io.vertx.core.http.WebSocket

- Packages that use WebSocket
  Package | Description
  --- | ---
  io.vertx.core.http |
  io.vertx.core.spi.metrics |
  io.vertx.reactivex.core.http |
  io.vertx.rxjava.core.http |

- - ### Uses of WebSocket in io.vertx.core.http

    Methods in io.vertx.core.http that return WebSocket
    Modifier and Type | Method and Description
    --- | ---
    `WebSocket` | WebSocket.`closeHandler(Handler<Void> handler)`
    `WebSocket` | WebSocket.`drainHandler(Handler<Void> handler)`
    `WebSocket` | WebSocket.`endHandler(Handler<Void> endHandler)`
    `WebSocket` | WebSocket.`exceptionHandler(Handler<Throwable> handler)`
    `WebSocket` | WebSocket.`fetch(long amount)`
    `WebSocket` | WebSocket.`frameHandler(Handler<WebSocketFrame> handler)`
    `WebSocket` | WebSocket.`handler(Handler<Buffer> handler)`
    `WebSocket` | WebSocket.`pause()`
    `WebSocket` | WebSocket.`resume()`
    `WebSocket` | WebSocket.`setWriteQueueMaxSize(int maxSize)`
    `WebSocket` | WebSocket.`writeBinaryMessage(Buffer data, Handler<AsyncResult<Void>> handler)`
    `WebSocket` | WebSocket.`writeFinalBinaryFrame(Buffer data, Handler<AsyncResult<Void>> handler)`
    `WebSocket` | WebSocket.`writeFinalTextFrame(String text, Handler<AsyncResult<Void>> handler)`
    `WebSocket` | WebSocket.`writeFrame(WebSocketFrame frame, Handler<AsyncResult<Void>> handler)`
    `WebSocket` | WebSocket.`writeTextMessage(String text, Handler<AsyncResult<Void>> handler)`

    Methods in io.vertx.core.http that return types with arguments of type WebSocket
    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

    Method parameters in io.vertx.core.http with type arguments of type WebSocket
    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.

  - ### Uses of WebSocket in io.vertx.core.spi.metrics

    Methods in io.vertx.core.spi.metrics with parameters of type WebSocket
    Modifier and Type | Method and Description
    --- | ---
    `default W` | HttpClientMetrics.`connected(WebSocket webSocket)` Called when a web socket connects.

  - ### Uses of WebSocket in io.vertx.reactivex.core.http

    Methods in io.vertx.reactivex.core.http that return WebSocket
    Modifier and Type | Method and Description
    --- | ---
    `WebSocket` | WebSocket.`getDelegate()`

    Methods in io.vertx.reactivex.core.http with parameters of type WebSocket
    Modifier and Type | Method and Description
    --- | ---
    `static WebSocket` | WebSocket.`newInstance(WebSocket arg)`

    Constructors in io.vertx.reactivex.core.http with parameters of type WebSocket
    Constructor and Description
    `WebSocket(WebSocket delegate)`

  - ### Uses of WebSocket in io.vertx.rxjava.core.http

    Methods in io.vertx.rxjava.core.http that return WebSocket
    Modifier and Type | Method and Description
    --- | ---
    `WebSocket` | WebSocket.`getDelegate()`

    Methods in io.vertx.rxjava.core.http with parameters of type WebSocket
    Modifier and Type | Method and Description
    --- | ---
    `static WebSocket` | WebSocket.`newInstance(WebSocket arg)`

    Constructors in io.vertx.rxjava.core.http with parameters of type WebSocket
    Constructor and Description
    `WebSocket(WebSocket delegate)`

Copyright © 2021 Eclipse. All rights reserved.