## Uses of Class
io.vertx.reactivex.core.net.NetSocket

- Packages that use NetSocket
  Package | Description
  --- | ---
  io.vertx.reactivex.core.http |
  io.vertx.reactivex.core.net |
  io.vertx.reactivex.ext.eventbus.bridge.tcp |

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

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

    Methods in io.vertx.reactivex.core.http that return types with arguments of type NetSocket
    Modifier and Type | Method | Description
    --- | --- | ---
    `Single<NetSocket>` | HttpServerRequest.`rxToNetSocket()` | Establish a TCP tunnel with the client.
    `Future<NetSocket>` | HttpServerRequest.`toNetSocket()` | Establish a TCP tunnel with the client.

  - ### Uses of NetSocket in io.vertx.reactivex.core.net

    Fields in io.vertx.reactivex.core.net with type parameters of type NetSocket
    Modifier and Type | Field | Description
    --- | --- | ---
    `static io.vertx.lang.rx.TypeArg<NetSocket>` | NetSocket.`__TYPE_ARG` |

    Methods in io.vertx.reactivex.core.net that return NetSocket
    Modifier and Type | Method | Description
    --- | --- | ---
    `NetSocket` | NetSocket.`closeHandler​(Handler<Void> handler)` | Set a `handler` notified when the socket is closed
    `NetSocket` | NetSocket.`drainHandler​(Handler<Void> handler)` |
    `NetSocket` | NetSocket.`endHandler​(Handler<Void> endHandler)` | This handler might be called after the close handler when the socket is paused and there are still buffers to deliver.
    `NetSocket` | NetSocket.`exceptionHandler​(Handler<Throwable> handler)` |
    `NetSocket` | NetSocket.`fetch​(long amount)` |
    `NetSocket` | NetSocket.`handler​(Handler<Buffer> handler)` |
    `static NetSocket` | NetSocket.`newInstance​(NetSocket arg)` |
    `NetSocket` | NetSocket.`pause()` |
    `NetSocket` | NetSocket.`resume()` |
    `NetSocket` | NetSocket.`setWriteQueueMaxSize​(int maxSize)` |
    `NetSocket` | NetSocket.`shutdownHandler​(Handler<Void> handler)` | Set a `handler` notified when the socket is shutdown: the client or server will close the connection within a certain amount of time.

    Methods in io.vertx.reactivex.core.net that return types with arguments of type NetSocket
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<NetSocket>` | NetClient.`connect​(int port, String host)` | Open a connection to a server at the specific `port` and `host`.
    `Future<NetSocket>` | NetClient.`connect​(int port, String host, String serverName)` | Open a connection to a server at the specific `port` and `host`.
    `Future<NetSocket>` | NetClient.`connect​(ConnectOptions connectOptions)` | Open a connection to a server at the specific `connectOptions`.
    `Future<NetSocket>` | NetClient.`connect​(SocketAddress remoteAddress)` | Open a connection to a server at the specific `remoteAddress`.
    `Future<NetSocket>` | NetClient.`connect​(SocketAddress remoteAddress, String serverName)` | Open a connection to a server at the specific `remoteAddress`.
    `Single<NetSocket>` | NetClient.`rxConnect​(int port, String host)` | Open a connection to a server at the specific `port` and `host`.
    `Single<NetSocket>` | NetClient.`rxConnect​(int port, String host, String serverName)` | Open a connection to a server at the specific `port` and `host`.
    `Single<NetSocket>` | NetClient.`rxConnect​(ConnectOptions connectOptions)` | Open a connection to a server at the specific `connectOptions`.
    `Single<NetSocket>` | NetClient.`rxConnect​(SocketAddress remoteAddress)` | Open a connection to a server at the specific `remoteAddress`.
    `Single<NetSocket>` | NetClient.`rxConnect​(SocketAddress remoteAddress, String serverName)` | Open a connection to a server at the specific `remoteAddress`.

    Method parameters in io.vertx.reactivex.core.net with type arguments of type NetSocket
    Modifier and Type | Method | Description
    --- | --- | ---
    `NetServer` | NetServer.`connectHandler​(Handler<NetSocket> handler)` | Supply a connect handler for this server.

  - ### Uses of NetSocket in io.vertx.reactivex.ext.eventbus.bridge.tcp

    Methods in io.vertx.reactivex.ext.eventbus.bridge.tcp that return NetSocket
    Modifier and Type | Method | Description
    --- | --- | ---
    `NetSocket` | BridgeEvent.`socket()` | Get the SockJSSocket instance corresponding to the event