UpgradeToWebSocket
A custom header that will be added to an WebSocket upgrade HttpRequest that enables a request handler to upgrade this connection to a WebSocket connection and registers a WebSocket handler.
Attributes
- Deprecated
-
[Since version 10.2.0]
- Source
- UpgradeToWebSocket.scala
- Graph
-
- Supertypes
-
trait WebSocketUpgradetrait UpgradeToWebSockettrait WebSocketUpgradeclass HttpHeaderclass HttpHeaderclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Abstract methods
The high-level interface to create a WebSocket server based on "messages".
The high-level interface to create a WebSocket server based on "messages".
Returns a response to return in a request handler that will signal the low-level HTTP implementation to upgrade the connection to WebSocket and use the supplied handler to handle incoming WebSocket messages.
Optionally, a subprotocol out of the ones requested by the client can be chosen.
Attributes
- Definition Classes
- Source
- UpgradeToWebSocket.scala
A sequence of protocols the client accepts.
A sequence of protocols the client accepts.
Attributes
- Definition Classes
- Source
- UpgradeToWebSocket.scala
Concrete methods
Java API
Java API
Java API
Java API
Java API
The high-level interface to create a WebSocket server based on "messages".
The high-level interface to create a WebSocket server based on "messages".
Returns a response to return in a request handler that will signal the low-level HTTP implementation to upgrade the connection to WebSocket and use the supplied inSink to consume messages received from the client and the supplied outSource to produce message to sent to the client.
Optionally, a subprotocol out of the ones requested by the client can be chosen.
Attributes
- Definition Classes
- Source
- UpgradeToWebSocket.scala
Inherited methods
Attributes
- Inherited from:
- HttpHeader
- Source
- HttpHeader.scala
Attributes
- Inherited from:
- HttpHeader
- Source
- HttpHeader.scala
Attributes
- Inherited from:
- HttpHeader
- Source
- HttpHeader.scala
Attributes
- Inherited from:
- HttpHeader
- Source
- HttpHeader.scala
Attributes
- Inherited from:
- HttpHeader
Attributes
- Inherited from:
- HttpHeader
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
ToStringRenderable -> Any
- Inherited from:
- ToStringRenderable (hidden)
- Source
- Rendering.scala
Attributes
- Inherited from:
- HttpHeader
- Source
- HttpHeader.scala
Attributes
- Inherited from:
- HttpHeader
- Source
- HttpHeader.scala