Struct engine_io::socket::Socket [] [src]

pub struct Socket { /* fields omitted */ }

Methods

impl Socket
[src]

Send a message to the client

Set callback for when a packet is sent to the client (message, ping)

Set callback for when the write buffer is flushed

Set callback for when the client is disconnected

Set callback for when client sends a message

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]