Struct socket_io::socket::Socket [] [src]

pub struct Socket { /* fields omitted */ }

Methods

impl Socket
[src]

Emit an event to the client, with the name event.

Emit an event to the client, and ask the client for an acknowledgment. Once received, call on_ack.

Close the connection to the client.

Trait Implementations

impl Clone for Socket
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Send for Socket
[src]

impl Sync for Socket
[src]