logo
logo

Interface IUploadClient

The client to upload files to M.

Namespace: Stylelabs.M.Sdk.WebClient.Contracts
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public interface IUploadClient

Methods

UploadAsync(UploadRequest, CancellationToken)

Attempts to upload the file specified in request to the Content Hub instance.

Declaration
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>

Can we improve this article ? Provide feedback