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

Search Results for

    Method TryCreateAsync

    TryCreateAsync(UploadRecord, CancellationToken)

    Creates an upload with the specified record, reserving room for its length if the store can.

    Declaration
    ValueTask<bool> TryCreateAsync(UploadRecord upload, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    UploadRecord upload

    The record of the new upload, with a new random ID.

    CancellationToken cancellationToken

    A token that cancels the operation.

    Returns
    Type Description
    ValueTask<bool>

    true if the upload was created, or false if the store has no room for it, which the service reports as StorageFull.

    © Singulink. All rights reserved.