Trait ws::Factory
[−]
[src]
pub trait Factory { type Handler: Handler; fn connection_made(&mut self, Sender) -> Self::Handler; fn settings(&mut self) { ... } fn on_shutdown(&mut self) { ... } }
Associated Types
Required Methods
fn connection_made(&mut self, Sender) -> Self::Handler
indicates a tcp connection made, so now we need to build the websocket connection handler