Skip to content

Conversation

@kblok
Copy link
Member

@kblok kblok commented Apr 26, 2024

Description

This will help us support more platforms.

Breaking change

BrowserFetcher is not disposable anymore and it no longer provides a DownloadProgressChanged event.

closes #1884

@kblok kblok merged commit 28134c7 into master Apr 27, 2024
@kblok kblok deleted the migrate-from-webclient-to-httpclient branch April 27, 2024 18:18
using var response = await client.SendAsync(requestMessage).ConfigureAwait(false);
return response.StatusCode == HttpStatusCode.OK;
}
catch (WebException)
Copy link

@novicov novicov Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kblok WebException needs to be changed to HttpRequestException

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@novicov true

@AlizerUncaged

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HttpClient instead of WebClient

6 participants