Helper utilities to generate WebSocket results.
Attributes
Members list
Type members
Classlikes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Transforms WebSocket message flows into message flows of another type.
Transforms WebSocket message flows into message flows of another type.
The transformation may be more than just converting from one message to another, it may also produce messages, such as close messages with an appropriate error code if the message can't be consumed.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Types
A function that, given an actor to send upstream messages to, returns actor props to create an actor to handle the WebSocket
A function that, given an actor to send upstream messages to, returns actor props to create an actor to handle the WebSocket
Attributes
Value members
Concrete methods
Accepts a WebSocket using the given flow.
Accepts a WebSocket using the given flow.
Attributes
Creates an action that will either accept the websocket, using the given flow to handle the in and out stream, or return a result to reject the Websocket.
Creates an action that will either accept the websocket, using the given flow to handle the in and out stream, or return a result to reject the Websocket.