## Uses of Interface
io.vertx.core.net.NetSocket

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

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

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

    Methods in io.vertx.core.http that return types with arguments of type NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `Future<NetSocket>` | HttpServerRequest.`toNetSocket()` Like `HttpServerRequest.toNetSocket(Handler)` but returns a `Future` of the asynchronous result

    Method parameters in io.vertx.core.http with type arguments of type NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `default void` | HttpServerRequest.`toNetSocket(Handler<AsyncResult<NetSocket>> handler)` Establish a TCP tunnel with the client.

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

    Methods in io.vertx.core.net that return NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `NetSocket` | NetSocket.`closeHandler(Handler<Void> handler)` Set a handler that will be called when the NetSocket is closed
    `NetSocket` | NetSocket.`drainHandler(Handler<Void> handler)`
    `NetSocket` | NetSocket.`endHandler(Handler<Void> endHandler)` Set an end handler.
    `NetSocket` | NetSocket.`exceptionHandler(Handler<Throwable> handler)`
    `NetSocket` | NetSocket.`fetch(long amount)`
    `NetSocket` | NetSocket.`handler(Handler<Buffer> handler)`
    `NetSocket` | NetSocket.`pause()`
    `NetSocket` | NetSocket.`resume()`
    `default NetSocket` | NetSocket.`sendFile(String filename, Handler<AsyncResult<Void>> resultHandler)` Same as `sendFile(String)` but also takes a handler that will be called when the send has completed or a failure has occurred
    `default NetSocket` | NetSocket.`sendFile(String filename, long offset, Handler<AsyncResult<Void>> resultHandler)` Same as `sendFile(String, long)` but also takes a handler that will be called when the send has completed or a failure has occurred
    `NetSocket` | NetSocket.`sendFile(String filename, long offset, long length, Handler<AsyncResult<Void>> resultHandler)` Same as `sendFile(String, long, long)` but also takes a handler that will be called when the send has completed or a failure has occurred
    `NetSocket` | NetSocket.`setWriteQueueMaxSize(int maxSize)`
    `NetSocket` | NetSocket.`upgradeToSsl(Handler<AsyncResult<Void>> handler)` Upgrade channel to use SSL/TLS.
    `NetSocket` | NetSocket.`upgradeToSsl(String serverName, Handler<AsyncResult<Void>> handler)` Upgrade channel to use SSL/TLS.

    Methods in io.vertx.core.net that return types with arguments of type NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `Future<NetSocket>` | NetClient.`connect(int port, String host)` Like `NetClient.connect(int, String, Handler)` but returns a `Future` of the asynchronous result
    `Future<NetSocket>` | NetClient.`connect(int port, String host, String serverName)` Like `NetClient.connect(int, String, String, Handler)` but returns a `Future` of the asynchronous result
    `Future<NetSocket>` | NetClient.`connect(SocketAddress remoteAddress)` Like `NetClient.connect(SocketAddress, Handler)` but returns a `Future` of the asynchronous result
    `Future<NetSocket>` | NetClient.`connect(SocketAddress remoteAddress, String serverName)` Like `NetClient.connect(SocketAddress, String, Handler)` but returns a `Future` of the asynchronous result
    `Handler<NetSocket>` | NetServer.`connectHandler()`
    `ReadStream<NetSocket>` | NetServer.`connectStream()` Return the connect stream for this server.

    Method parameters in io.vertx.core.net with type arguments of type NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `NetClient` | NetClient.`connect(int port, String host, Handler<AsyncResult<NetSocket>> connectHandler)` Open a connection to a server at the specific `port` and `host`.
    `NetClient` | NetClient.`connect(int port, String host, String serverName, Handler<AsyncResult<NetSocket>> connectHandler)` Open a connection to a server at the specific `port` and `host`.
    `NetClient` | NetClient.`connect(SocketAddress remoteAddress, Handler<AsyncResult<NetSocket>> connectHandler)` Open a connection to a server at the specific `remoteAddress`.
    `NetClient` | NetClient.`connect(SocketAddress remoteAddress, String serverName, Handler<AsyncResult<NetSocket>> connectHandler)` Open a connection to a server at the specific `remoteAddress`.

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

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

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

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

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

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

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

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

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

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

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

    Methods in io.vertx.rxjava3.core.net that return NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `NetSocket` | NetSocket.`getDelegate()`

    Methods in io.vertx.rxjava3.core.net with parameters of type NetSocket
    Modifier and Type | Method and Description
    --- | ---
    `static NetSocket` | NetSocket.`newInstance(NetSocket arg)`

    Constructors in io.vertx.rxjava3.core.net with parameters of type NetSocket
    Constructor and Description
    `NetSocket(NetSocket delegate)`

Copyright © 2021 Eclipse. All rights reserved.