Skip to main content

hold_with_reason

Function hold_with_reason 

Source
async fn hold_with_reason(
    state: &AppState,
    auth_via: ReactiveAuthVia,
    req: &InjectionRequest,
    resp: &InjectionResponse,
    reason: HoldReason,
    until_ms: Option<u64>,
    replay: &mut Reservation,
) -> Option<Value>
Expand description

hold_for_absent_target, with the reset time of a usage limit for the answer (held_until_ms).