tab-websocket 0.5.0

the websocket utility module for the tab terminal multiplexer
Documentation
1
2
3
4
5
6
7
8
9
use tungstenite::Message as TungsteniteMessage;

/// A message received from the websocket, wraps tungstenite::Message
#[derive(Debug)]
pub struct WebsocketRecv(pub TungsteniteMessage);

/// A message sent over the websocket, wraps tungstenite::Message
#[derive(Debug)]
pub struct WebsocketSend(pub TungsteniteMessage);