HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Interface IUploadRunClaim

    Represents a server's claim of the run of an upload's handler, which TryClaimRunAsync(UploadRecord, TimeSpan, CancellationToken) returns.

    Namespace: Singulink.Net.Http.Api.Service.Uploads
    Assembly: Singulink.Net.Http.Api.Service.dll
    Syntax
    public interface IUploadRunClaim

    Methods

    Name Description
    ReleaseAsync(CancellationToken)

    Gives up the claim without an outcome, so that the upload is back to having all its chunks and its run can be claimed again. Releasing a claim that was lost does nothing.

    RenewAsync(CancellationToken)

    Renews the claim's lease for another lease duration.

    © Singulink. All rights reserved.