direction

@SerialName(value = "type")
open override val direction: WebSocketDirection(source)

Which way the message was sent on the web socket.