Skip to main content

upload_hand_off

Function upload_hand_off 

Source
pub async fn upload_hand_off(
    client: &UploadClient,
    scheduler: &StagedScheduler,
    hand_off: &VerifiedHandOff,
) -> Result<DelegatedUpload, DelegationError>
Expand description

Upload a verified hand-off under the delegate’s own session, in the order the delegate’s own scheduler permits — its battery and metering policy, not the origin’s. Each member’s request is sent exactly as the origin built it.

§Errors

DelegationError::Upload for a member the server refused or a transfer that failed.