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

Search Results for

    Method IBindableFromHttpContext<UploadedFile<TCommand>>.BindAsync

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

    Binds the uploaded file parameter of the handler of a chunked upload, with the command from the upload's creation.

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

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

    BadRequestApiException

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

    © Singulink. All rights reserved.