/// WebSocket server used for testing the bench example. extern crate susy_ws as ws; use ws::{Builder, Sender, Settings}; fn main() { Builder::new() .with_settings(Settings { max_connections: 10_000, ..Settings::default() }) .build(|out: Sender| move |msg| out.send(msg)) .unwrap() .listen("127.0.0.1:3012") .unwrap(); }