Function parity_ws::listen [−][src]
pub fn listen<A, F, H>(addr: A, factory: F) -> Result<()> where
A: ToSocketAddrs + Debug,
F: FnMut(Sender) -> H,
H: Handler,
pub fn listen<A, F, H>(addr: A, factory: F) -> Result<()> where
A: ToSocketAddrs + Debug,
F: FnMut(Sender) -> H,
H: Handler,