Skip to main content

setup_quic_streams

Function setup_quic_streams 

Source
async fn setup_quic_streams(
    quic_conn: &QuicConn,
    direction: &ConnDirection,
    negotiated: &HashSet<ProtocolID>,
) -> Result<(HashMap<ProtocolID, Arc<AsyncQueue<PeerNetMsg>>>, Vec<MuxStream>)>
Expand description

Open / accept one QUIC stream per negotiated protocol and return the per-stream send queues plus the reader/writer halves.