modernhttpclient-updated 3.4.1

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

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

Release Notes

[Update] Supporting public keys in sha256, sha1 and md5 formats
[Android] Deprecating DangerousAllowInsecureHTTPLoads
[Android] Enabling TLS in pre-Lollipop
[Android] CLEARTEXT will be enabled by default in pre-Lollipop
[Android] To enable CLEARTEXT in Lollipop and above, usesCleartextTraffic or networkSecurityConfig are needed
[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] 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.1 26 9/19/2019
3.4.0 59 9/18/2019
3.3.4 8,295 7/10/2019
3.3.3 2,441 7/1/2019
3.3.2 2,148 6/25/2019
3.3.1 291 6/24/2019
3.3.0 94 6/24/2019
3.2.1 1,287 6/19/2019
2.8.2 98 6/19/2019
2.8.1 2,928 6/13/2019
2.8.0 1,223 6/10/2019
2.7.2 183,664 6/25/2018
2.7.1 23,448 5/19/2018
2.7.0 1,182 5/10/2018
2.6.0 13,438 1/29/2018
2.5.3 2,023 1/23/2018
2.5.1 499 1/22/2018
2.5.0 25,108 12/11/2017 3,502 6/25/2018
2.4.7 970 1/23/2018
2.4.5 501 1/21/2018
2.4.4 5,969 12/9/2017
2.4.3 578 12/5/2017