Constructor UploadRequest
UploadRequest(string, long, string?)
Initializes a new instance of the UploadRequest class.
Declaration
public UploadRequest(string fileName, long length, string? contentType = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName | The name of the file. |
| long | length | The length of the file in bytes. |
| string | contentType | The content type of the file, if the client sent one. |