Class UploadSession
Represents a created chunked upload: its ID, the chunk size the service chose and when it expires.
Namespace: Singulink.Net.Http.Api.DataContracts
Assembly: Singulink.Net.Http.Api.dll
Syntax
public sealed class UploadSession
Constructors
| Name | Description |
|---|---|
| UploadSession(string, int, DateTime) | Initializes a new instance of the UploadSession class. |
Properties
| Name | Description |
|---|---|
| ChunkSize | Gets the chunk size in bytes. Every chunk of the upload has this length, except the last, which has the rest of the file. |
| ExpiresUtc | Gets the time the upload expires, in UTC: while it is receiving chunks, the time it expires if no chunk arrives before it, which each chunk moves later. A repeated creation (see IdempotencyKey) can get an upload whose handler is running, or has finished, whose expiry is the time its handler is stopped, or the time its outcome is no longer kept, as in its status (see ExpiresUtc). |
| Id | Gets the upload ID: 256 random bits as 43 base64url characters. |