Returns the sequence of protocols the client accepts.
Returns the sequence of protocols the client accepts.
See http://tools.ietf.org/html/rfc6455#section-1.9
Returns a response that can be used to answer a Websocket handshake request.
Returns a response that can be used to answer a Websocket handshake request. The connection will afterwards use the given handlerFlow to handle Websocket messages from the client. The given subprotocol must be one of the ones offered by the client.
Returns a response that can be used to answer a Websocket handshake request.
Returns a response that can be used to answer a Websocket handshake request. The connection will afterwards use the given handlerFlow to handle Websocket messages from the client.
(upgradeToWebsocket: StringAdd).self
(upgradeToWebsocket: StringFormat).self
(upgradeToWebsocket: ArrowAssoc[UpgradeToWebsocket]).x
(Since version 2.10.0) Use leftOfArrow
instead
(upgradeToWebsocket: Ensuring[UpgradeToWebsocket]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A virtual header that Websocket requests will contain. Use UpgradeToWebsocket.handleMessagesWith to create a Websocket handshake response and handle the Websocket message stream with the given handler.