Trait WebsocketClient
zbus_lib::client
pub trait WebsocketClient { fn connect(&self) -> bool; fn reconnect(&mut self) -> bool; fn message<S: Into<String>>(&self, id: S) -> Message; fn is_connected(&self) -> bool; fn close(&self) -> bool; fn send(&self, msg: Message) -> bool; }
fn connect(&self) -> bool
fn reconnect(&mut self) -> bool
fn message<S: Into<String>>(&self, id: S) -> Message
fn is_connected(&self) -> bool
fn close(&self) -> bool
fn send(&self, msg: Message) -> bool