Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated NUnit and replaced WebRequest with HttpClient #211

Merged
merged 6 commits into from
Jul 11, 2023

Conversation

inforithmics
Copy link
Contributor

Fixes this Mapsui/Mapsui#2107 (for wmts and tms)

@inforithmics
Copy link
Contributor Author

inforithmics commented Jul 9, 2023

I had to change some Methods to Async, I made the non Async methods Obsolete and call the Async Methods with .Result. So this stays compatible and no Major Version is needed.

Had to upgrade NUnit to for AsyncTestDelegate

@pauldendulk pauldendulk changed the title updated nunit and replaced WebRequest with HttpClient Updated NUnit and replaced WebRequest with HttpClient Jul 11, 2023
@@ -20,6 +21,7 @@ public static class HttpWebRequestExtensions
/// parameter was set, and no response was received within the specified
/// time.</exception>
/// <see href="http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight"/>
[Obsolete("Use HttpClient")]
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a nice way to help users upgrade to a newer version.

@pauldendulk pauldendulk merged commit d7a84bb into BruTile:master Jul 11, 2023
1 check passed
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.

None yet

2 participants