Method | Description | |
---|---|---|
PutAsync ( Stream stream ) : Task |
Uploads the chunk using PUT.
|
|
PutAsync ( Stream stream, |
Uploads the chunk using PUT.
|
|
UploadChunkRequest ( string sessionUrl, IBaseClient client, IEnumerable options, long rangeBegin, long rangeEnd, long totalSessionLength ) : System.Linq |
Request for uploading one chunk of a session
|
Method | Description | |
---|---|---|
SendRequestAsync ( Stream stream, |
public PutAsync ( Stream stream, |
||
stream | Stream | Stream of data to be sent in the request. Length must be equal to the length /// of this chunk (as defined by this.RangeLength) |
cancellationToken | The cancellation token | |
return | Task |
public UploadChunkRequest ( string sessionUrl, IBaseClient client, IEnumerable options, long rangeBegin, long rangeEnd, long totalSessionLength ) : System.Linq | ||
sessionUrl | string | URL to upload the chunk. |
client | IBaseClient | Client used for sending the chunk. |
options | IEnumerable | Options |
rangeBegin | long | Beginning of range of this chunk |
rangeEnd | long | End of range of this chunk |
totalSessionLength | long | Total session length. This MUST be consistent /// across all chunks. |
return | System.Linq |