WebsocketMessageFormatter class

Properties

fromConnectionMessage
toConnectionMessage

Property Details

fromConnectionMessage

fromConnectionMessage: (message: ConnectionMessage) => Promise<RawWebsocketMessage>

Property Value

(message: ConnectionMessage) => Promise<RawWebsocketMessage>

toConnectionMessage

toConnectionMessage: (message: RawWebsocketMessage) => Promise<ConnectionMessage>

Property Value

(message: RawWebsocketMessage) => Promise<ConnectionMessage>