Skip to main content

sender_allowed

Function sender_allowed 

Source
pub(super) fn sender_allowed(
    store: &Store,
    registered: &str,
    from: Option<&str>,
) -> Result<(), String>
Expand description

Whether a frame from a connection registered as registered (empty: it never registered) may name from. Two names are the same agent when they resolve to one id, as check_s1 compares them.