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

Search Results for

    Method IBindableFromHttpContext<UploadRequest<TCommand>>.BindAsync

    IBindableFromHttpContext<UploadRequest<TCommand>>.BindAsync(HttpContext, ParameterInfo)

    Binds the upload request parameter of the validator of a chunked upload, with the command.

    Declaration
    static ValueTask<UploadRequest<TCommand>?> IBindableFromHttpContext<UploadRequest<TCommand>>.BindAsync(HttpContext context, ParameterInfo parameter)
    Parameters
    Type Name Description
    HttpContext context
    ParameterInfo parameter
    Returns
    Type Description
    ValueTask<UploadRequest<TCommand>>
    Implements
    IBindableFromHttpContext<TSelf>.BindAsync(HttpContext, ParameterInfo)
    Exceptions
    Type Condition
    InvalidOperationException

    The parameter is not a parameter of the validator of a chunked upload.

    BadRequestApiException

    The command is missing where the parameter does not allow null, or cannot be read.

    © Singulink. All rights reserved.