vertx / io.vertx.reactivex.core.http / HttpServerRequest / netSocket

netSocket

open fun netSocket(): NetSocket

Get a net socket for the underlying connection of this request.

USE THIS WITH CAUTION!

Once you have called this method, you must handle writing to the connection yourself using the net socket, the server request instance will no longer be usable as normal. Writing to the socket directly if you don't know what you're doing can easily break the HTTP protocol.

Return
the net socket