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
TypeNameDescription
UploadRequestrequest

The upload request.

CancellationTokencancellationToken

The allows to cancel potential long-running uploads.

Returns
TypeDescription
Task<>HttpResponseMessage

A .

Do you have some feedback for us?

If you have suggestions for improving this article,