Class HttpUploadSource

Provides access to a file via HTTP/HTTPS that will be uploaded to Content Hub.

Inheritance
object
HttpUploadSource
Implements
Namespace: StylelabsStylelabs.MSdkWebClientModelsUpload
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public class HttpUploadSource : IUploadSource

Constructors

HttpUploadSource(IWebMClient, Uri, string)

Initializes a new instance of the HttpUploadSource class.

Declaration
RequestResponse
public HttpUploadSource(IWebMClient client, Uri uri, string name = "")
Parameters
TypeNameDescription
IWebMClientclient

The IWebMClient instance.

Uriuri

The to access the underlying source.

Declaration
RequestResponse
public Task<Stream> GetStreamAsync()
Returns
TypeDescription
Task<>Stream

A .

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,