Trait jsonrpc_ws_server::SessionStats[][src]

pub trait SessionStats: 'static + Send + Sync {
    pub fn open_session(&self, id: u64);
pub fn close_session(&self, id: u64); }

Keeps track of open sessions

Required methods

pub fn open_session(&self, id: u64)[src]

Executed when new session is opened.

pub fn close_session(&self, id: u64)[src]

Executed when session is closed.

Loading content...

Implementors

Loading content...