Struct crypto_market_stream_ws::Handle [] [src]

pub struct Handle {
    pub reactor: Handle,
    pub sender: EventSender,
    pub commands: CmdReceiver,
    pub pairs: HashMap<i64, Pair>,
}

WebSocket Stream connection handle.

Fields

Methods

impl Handle
[src]

[src]

Creates new connection struct.

[src]

Returns currency pair by channel id.

[src]

Creates handle with new channel.