//! ## Hello World
//!
//! ```no_run
//! extern crate engine_io;
//! extern crate iron;
//!
//! use iron::prelude::*;
//! use engine_io::server::Server;
//!
//! fn main() {
//! let s = Server::new();
//! s.on_connection(|so| {
//! println!("connected to {}", so.id());
//! so.on_message(|m| {
//! println!("message: {}", String::from_utf8(m.to_vec()).unwrap());
//! });
//! so.send(("Hello, world!").as_bytes().to_vec())
//! });
//!
//! println!("listening");
//! Iron::new(s).http("localhost:3000").unwrap();
//! }
//! ```
extern crate iron;
extern crate rand;
extern crate url;
extern crate rustc_serialize as serialize;
extern crate crypto;
extern crate modifier;
extern crate cookie;
extern crate time;
extern crate hyper;
extern crate log;