[][src]Function cxmr_ws_client::subscribe

pub async fn subscribe<'_, P, I>(
    subscription: &'_ Subscription,
    sender: UnboundedSender<I>
) -> Result<(), Error> where
    P: Protocol<I> + 'static, 

Connects to WebSocket stream and subscribes.