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

Search Results for

    Method GetUsageAsync

    GetUsageAsync(CancellationToken)

    Gets how much room the store has.

    Declaration
    ValueTask<UploadStoreUsage> GetUsageAsync(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A token that cancels the operation.

    Returns
    Type Description
    ValueTask<UploadStoreUsage>
    Remarks

    Values that the store can't tell are null, and a store that can tell none returns Unknown. An exception that it throws shows that the store can't be read. The health check of chunked uploads reads it each time it runs (see AddChunkedUploadsCheck(IHealthChecksBuilder, string?, HealthStatus?, IEnumerable<string>?)), and nothing reads it on the path of a request.

    © Singulink. All rights reserved.