Struct engine_io::server::Server
[−]
[src]
pub struct Server {
// some fields omitted
}Methods
impl Server[src]
fn new() -> Server
fn with_config(config: Config) -> Server
fn on_connection<F>(&self, f: F) where F: Fn(Arc<Socket>) + 'static
fn close(&self)
fn get_socket(&self, c: Cookie) -> Option<Arc<Socket>>
fn remove_socket(&self, sid: String)
Trait Implementations
impl Clone for Server[src]
fn clone(&self) -> Server
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Send for Server[src]
impl Sync for Server[src]
impl Handler for Server[src]
fn handle(&self, req: &mut Request) -> IronResult<Response>
Produce a Response from a Request, with the possibility of error.