fn main(){ println!("ws server started"); ws::listen("127.0.0.1:1555", |out| { move |msg| { println!("{}",msg); out.send(msg) } }).unwrap(); println!("ws server is over"); }