tab_websocket/message/
connection.rs

1use tungstenite::Message as TungsteniteMessage;
2
3/// A message received from the websocket, wraps tungstenite::Message
4#[derive(Debug)]
5pub struct WebsocketRecv(pub TungsteniteMessage);
6
7/// A message sent over the websocket, wraps tungstenite::Message
8#[derive(Debug)]
9pub struct WebsocketSend(pub TungsteniteMessage);