Skip to content

HttpClient implementations that use platform-native HTTP clients for 🚀

License

Notifications You must be signed in to change notification settings

Youscribe/ModernHttpClient

 
 

Repository files navigation

ModernHttpClient

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:

Usage

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());

How can I use this in a PCL?

Just reference the Portable version of ModernHttpClient in your Portable Library, and it will use the correct version on all platforms.

Building

make

Why doesn't this build in Xamarin Studio? What gives?

## Run this first
make

About

HttpClient implementations that use platform-native HTTP clients for 🚀

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.3%
  • Makefile 3.7%