pub async fn run_connection(
stream: TcpStream,
conn_id: u64,
aes_key: [u8; 16],
req_tx: Sender<IncomingRequest>,
disconnect_tx: UnboundedSender<DisconnectNotify>,
shutdown_rx: Receiver<bool>,
) -> Sender<FutuFrame>Expand description
运行单个连接的收发循环。
保留 v1.4.x 的 public 返回形状;server listener 使用 crate-private sibling 取得额外的 close control。