Skip to main content

admit

Function admit 

Source
async fn admit(
    state: &AppState,
    auth_via: ReactiveAuthVia,
    caller_uid: &str,
    req: &mut InjectionRequest,
) -> Result<Reservation, Value>
Expand description

What a jekt must pass before any delivery is tried: its signatures, the checks on its files and its text, and the holds for an agent that cannot take it now. Err is the answer to send back; Ok is the claim on its request id, released when deliver ends.