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

Search Results for

    Class UploadRequest

    Represents the creation of a chunked upload, which the validator of the upload takes as a parameter: the file's name, length and content type as the client sent them.

    Inheritance
    object
    UploadRequest
    UploadRequest<TCommand>
    Implements
    IBindableFromHttpContext<UploadRequest>
    Namespace: Singulink.Net.Http.Api.Service.Uploads
    Assembly: Singulink.Net.Http.Api.Service.dll
    Syntax
    public class UploadRequest : IBindableFromHttpContext<UploadRequest>

    Constructors

    Name Description
    UploadRequest(string, long, string?)

    Initializes a new instance of the UploadRequest class.

    Properties

    Name Description
    ContentType

    Gets the content type of the file, or null if the client sent none.

    FileName

    Gets the name of the file.

    Length

    Gets the length of the file in bytes. The upload has exactly this many bytes.

    Explicit Interface Implementations

    Name Description
    IBindableFromHttpContext<UploadRequest>.BindAsync(HttpContext, ParameterInfo)

    Binds the upload request parameter of the validator of a chunked upload.

    © Singulink. All rights reserved.