Skip to main content

serve_scheduled

Function serve_scheduled 

Source
pub fn serve_scheduled(
    mux: &mut HttpMux,
    entries: &[BoundHttpEntry<'_, '_, '_, '_>],
    grant: &mut LocalWholeSourceGrant<'_, '_>,
    pins: &PinAuthority,
    clock: impl Fn() -> u64,
    ledger: &mut ReservationLedger,
    out: &mut [u8],
) -> Result<HttpMuxReport, ProviderError>
Expand description

Drive next until empty. Control acknowledges with no HTTP body. HttpProvider always reserves: skip a second serve of the same entry identity. One grant scopes the walk (LocalWholeSourceGrant is one-shot).