0 rating
  • 1
  • 2
  • 3
  • 4
  • 5
Compatible with
  • iOS
  • Android

ModernHttpClient Pro 2.4.2

Paul Betts

Enterprise version of ModernHttpClient, supports self-signed SSL/TLS certificates.

This library brings the latest platform-specific networking libraries to Xamarin applications via a custom HttpClient handler. Write your app using System.Net.Http, but drop this library in and it will go drastically faster. This is made possible by two native libraries:

  • On iOS, via NSURLSession
  • On Android, via OkHttp 1.5


The good news is, you don't have to know either of these two libraries above, using ModernHttpClient is the most boring thing in the world. Here's how it works:

var httpClient = new HttpClient(new NativeMessageHandler());

Enable untrusted SSL/TLS certificates

To enable untrusted SSL/TLS certificates, create your HttpClient as follows:

var handler = new NativeMessageHandler();
var httpClient = new HttpClient(handler);

How is the Pro version different than the normal one?

The only feature difference between ModernHttpClient and ModernHttpClient Pro is the ability to use untrusted SSL/TLS certificates - there is no performance or other internal differences between the two versions

Release Notes

What's New

Bug Fixes

  • Pass the hostname to ServerCertificateValidatorCallback (#152, thanks @Tableau-David-Potter)
Be the first to write a review