vertx / io.vertx.reactivex.core.http / HttpClient / websocketStreamAbs

websocketStreamAbs

open fun websocketStreamAbs(url: String, headers: MultiMap, version: WebsocketVersion, subProtocols: String): ReadStream<WebSocket>

Create a WebSocket stream with the specified absolute url, the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols.

Parameters

url - the absolute url

headers - the headers

version - the websocket version

subProtocols - the subprotocols to use

Return
a reference to this, so the API can be used fluently