Skip to main content

set_connection_subprotocol

Function set_connection_subprotocol 

Source
pub fn set_connection_subprotocol(
    connection_id: ConnectionId,
    subprotocol: Option<String>,
)
Expand description

Record the negotiated subprotocol once the handshake has completed.