Skip to main content

claim_connection

Function claim_connection 

Source
pub(crate) fn claim_connection(
    headers: &HeaderMap,
    engine: &Arc<WshRpcEngine>,
) -> Option<ConnGuard>
Expand description

A websocket upgrade’s host-proxied identity: the verified id and the guard that frees it. None when no host is registered, the header is missing or not the host’s signature, or the id is held.