modernhttpclient-updated 3.4.2

This library brings the latest platform-specific networking libraries to Xamarin applications via a custom HttpClient handler.

Install-Package modernhttpclient-updated -Version 3.4.2
dotnet add package modernhttpclient-updated --version 3.4.2
<PackageReference Include="modernhttpclient-updated" Version="3.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add modernhttpclient-updated --version 3.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

[Android] Deprecating DangerousAllowInsecureHTTPLoads
[Android] CLEARTEXT enabled by default in pre-Lollipop
[Update] Refactoring CertificatePinner to match Android OkHttp
[Update] Adding CertificateOnly and PublicKeysOnly pinning modes
[Update] Default pinning mode set to CertificateOnly
[Update] Pinning mode set to PublicKeysOnly if at least pins for one domain are provided
[Update] MatchHostnameToPattern applied to all alternative names when validating hostname
[Update] Performing cookie path-checking before adding them to the cookie collection (PR by @phdonnelly)
[Update] Supporting public keys in sha256, sha1 and md5 formats
[Update] Skip pinning for specific domain with empty pins array
[Update] Validating pins and client certificate base64 string
[Update] Adding support for Proxy-Authorization
[UWP] Pin wildcard hostnames #34
[Android] Supporting TLS 1.2+
[Android] Allowing TLS with CLEARTEXT simultaneously
Renaming SSLConfig to TLSConfig
Renaming EnableUntrustedCertificates to DangerousAcceptAnyServerCertificateValidator, moving it as a property of TLSConfig
Adding TLSConfig DangerousAllowInsecureHTTPLoads to enable plaintext HTTP in Android, matching iOS NSAppTransportSecurity $35
Adding support for wildcard hostname validation #34
Cumulative versioning update.
Validating hostname against certificate Subject Alternative Names, if any, in case it doesn't match the CN
[iOS] Timeout using wrong TimeSpan value #31.
[Android] "Trust anchor for certification path not found." with self-signed certificate.
Code refactoring.
Adding support for Mutual TLS Authentication
Enforcing TLS1.2
Adding support for web proxy.
[iOS] Removing minimumSSLProtocol static property.
[Android] Removing verifyHostnameCallback static property.
[Android] Removing customTrustManager static property.
[Android] Handshake failed (adding customTrustManager static property) #11
[Android] MissingMethodException Method 'ModernHttpClient.NativeMessageHandler..ctor' not found. #9
[iOS] Removing minimumSSLProtocol from NativeMessageHandler ctor
[UWP] Exception on UWP with Xamarin Forms #3
Migrating to a multi-target project
[Android] Calling HttpClient methods should throw .Net Exception when fail #5
[Android] VerifyHostnameCallback parameter function on constructor (NativeMessageHandler - Android) when customSSLVerification is true #6
[Android] ReasonPhrase is empty under HTTPS #8
Adding support for UWP
Adding support for netstandard 2.0
Cookies set with the native handler will be merged into the Cookie header
[Android] NativeCookieHandler, if provided, is set as the default CookieJar for OkHttpClient
Adding DeleteCookies, SetCookie and DeleteCookie to NativeCookieHandler
[Android] Updating to Square.OkHttp3
Cookies set with the native handler will be merged into the Cookie header
[Android] NativeCookieHandler, if provided, is set as the default cookie handler for OkHttpClient
Adding DeleteCookies, SetCookie and DeleteCookie to NativeCookieHandler
[Android] SIGABRT after UnknownHostException #229
[iOS] Updating obsolete NSUrlSessionDelegate to INSUrlSessionDelegate
Adding EnableUntrustedCertificates to support self-signed certificates
Adding Timeout property
[Android] Updating to Square.OkHttp 2.7.5
[Android] Timeout value is not respected on Android #192

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.4.2 1,308 9/23/2019
3.3.4 12,156 7/10/2019
3.3.3 3,109 7/1/2019
3.3.2 2,525 6/25/2019
3.3.1 314 6/24/2019
3.3.0 98 6/24/2019
3.2.1 1,490 6/19/2019
2.8.2 104 6/19/2019
2.8.1 3,942 6/13/2019
2.8.0 1,249 6/10/2019
2.7.2 194,981 6/25/2018
2.7.1 23,575 5/19/2018
2.7.0 1,195 5/10/2018
2.6.0 13,760 1/29/2018
2.5.3 2,115 1/23/2018
2.5.1 509 1/22/2018
2.5.0 25,176 12/11/2017 3,620 6/25/2018
2.4.7 989 1/23/2018
2.4.5 509 1/21/2018
2.4.4 6,183 12/9/2017
2.4.3 601 12/5/2017