pub async fn connect_gateway(
addr: &str,
client_id: &str,
) -> Result<(Arc<FutuClient>, PushReceiver)>Expand description
连接网关
返回 (client, push_rx);调用方负责在需要订阅推送时消费 push_rx。
pub async fn connect_gateway(
addr: &str,
client_id: &str,
) -> Result<(Arc<FutuClient>, PushReceiver)>连接网关
返回 (client, push_rx);调用方负责在需要订阅推送时消费 push_rx。