Skip to main content

channel_gate

Function channel_gate 

Source
async fn channel_gate(
    headers: &HeaderMap,
    route: &'static str,
    body: &[u8],
) -> Result<Admitted, Response>
Expand description

open and the other commands: the shape of a non-browser caller, and a request that proves the caller holds the key on a channel it began with handle_hello. The key itself is never sent, and is not accepted on these routes.