Interface IUploadClient
The client to upload files to M.
Namespace: StylelabsStylelabs.MSdkWebClientContracts
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public interface IUploadClient
Methods
UploadAsync(UploadRequest, CancellationToken)
Attempts to upload the file specified in request
to the Content Hub instance.
Declaration
RequestResponse
Task<HttpResponseMessage> UploadAsync(UploadRequest request, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
UploadRequest | request |
The upload request. |
CancellationToken | cancellationToken |
The allows to cancel potential long-running uploads. |
Returns
Type | Description |
---|---|
Task<>HttpResponseMessage |
A . |