[][src]Trait zbus_lib::client::WebsocketClient

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; }

Required methods

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

Loading content...

Implementors

Loading content...