Struct socket_io::server::Server [] [src]

pub struct Server { /* fields omitted */ }

Methods

impl Server
[src]

Returns a socket.io Server instance from an engine.io Server instance.

Set callback to be called on connecting to a new client.

Close connection to all clients.

Emits an event with the value event and parameters params to all connected clients.

Trait Implementations

impl Clone for Server
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Send for Server
[src]

impl Sync for Server
[src]

impl Handler for Server
[src]

Produce a Response from a Request, with the possibility of error.