open fun websocketStream(options: RequestOptions): ReadStream<WebSocket>
Create a WebSocket stream with the specified options
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(port: Int, host: String, requestURI: String): ReadStream<WebSocket>
Create a WebSocket stream to the specified port, host and relative request URI
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(host: String, requestURI: String): ReadStream<WebSocket>
Create a WebSocket stream to the specified host, relative request URI and default port
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(options: RequestOptions, headers: MultiMap): ReadStream<WebSocket>
Create a WebSocket stream with the specified options, and with the specified headers
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(port: Int, host: String, requestURI: String, headers: MultiMap): ReadStream<WebSocket>
Create a WebSocket stream to the specified port, host and relative request URI, and with the specified headers
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(host: String, requestURI: String, headers: MultiMap): ReadStream<WebSocket>
Create a WebSocket stream to the specified host, relative request URI and default port and with the specified headers
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(options: RequestOptions, headers: MultiMap, version: WebsocketVersion): ReadStream<WebSocket>
Create a WebSocket stream with the specified options, with the specified headers and using the specified version of WebSockets
version - the websocket version
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(port: Int, host: String, requestURI: String, headers: MultiMap, version: WebsocketVersion): ReadStream<WebSocket>
Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers and using the specified version of WebSockets
version - the websocket version
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(host: String, requestURI: String, headers: MultiMap, version: WebsocketVersion): ReadStream<WebSocket>
Create a WebSocket stream with the specified options and with the specified headers and using the specified version of WebSockets
version - the websocket version
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(options: RequestOptions, headers: MultiMap, version: WebsocketVersion, subProtocols: String): ReadStream<WebSocket>
Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols
version - the websocket version
subProtocols - the subprotocols to use
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(port: Int, host: String, requestURI: String, headers: MultiMap, version: WebsocketVersion, subProtocols: String): ReadStream<WebSocket>
Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols
version - the websocket version
subProtocols - the subprotocols to use
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(host: String, requestURI: String, headers: MultiMap, version: WebsocketVersion, subProtocols: String): ReadStream<WebSocket>
Create a WebSocket stream to the specified host, relative request URI and default port, with the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols
version - the websocket version
subProtocols - the subprotocols to use
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(requestURI: String): ReadStream<WebSocket>
Create a WebSocket stream at the relative request URI using the default host and port and the specified headers
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(requestURI: String, headers: MultiMap): ReadStream<WebSocket>
Create a WebSocket stream at the relative request URI using the default host and port and the specified headers
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(requestURI: String, headers: MultiMap, version: WebsocketVersion): ReadStream<WebSocket>
Create a WebSocket stream at the relative request URI using the default host and port, the specified headers and the specified version of WebSockets
version - the websocket version
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket
open fun websocketStream(requestURI: String, headers: MultiMap, version: WebsocketVersion, subProtocols: String): ReadStream<WebSocket>
Create a WebSocket stream at the relative request URI using the default host and port, the specified headers, the specified version of WebSockets and the specified sub protocols
version - the websocket version
subProtocols - the subprotocols
Return
a stream emitting a WebSocket event when the client connection has been upgraded to a websocket