Class HttpClientProgressExtensions
Namespace: Artemis.UI.Shared.Extensions
Assembly: Artemis.UI.Shared.dll
Syntax
public static class HttpClientProgressExtensions
Methods
DownloadDataAsync(HttpClient, string, Stream, IProgress<StreamProgress>?, CancellationToken)
Declaration
public static Task DownloadDataAsync(this HttpClient client, string requestUrl, Stream destination, IProgress<StreamProgress>? progress, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
HttpClient | client | |
string | requestUrl | |
Stream | destination | |
IProgress<StreamProgress> | progress | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |