trait MessageFlowTransformer[+In, -Out] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- MessageFlowTransformer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
Concrete Value Members
- def contramap[NewOut](f: (NewOut) => Out): MessageFlowTransformer[In, NewOut]
Contramap the out type of this transformer.
- def map[NewIn, NewOut](f: (In) => NewIn, g: (NewOut) => Out): MessageFlowTransformer[NewIn, NewOut]
Map the in type and contramap the out type of this transformer.
- def map[NewIn](f: (In) => NewIn): MessageFlowTransformer[NewIn, Out]
Map the in type of this transformer.
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.