encodeToFrame
fun Exchange<Message.Incoming, Message.Outgoing>.encodeToFrame(): Exchange<Frame, Frame>
Content copied to clipboard
Encodes an Exchange of Message into an Exchange of Frame, using the default event serializer. The frames can then directly be sent over websockets.
Return
the encoded Exchange