Π·Π΅Ρ€ΠΊΠ°Π»ΠΎ ΠΈΠ·
1
0
Π€ΠΎΡ€ΠΊΠ½ΡƒΡ‚ΡŒ 0
HttpClient implementations that use platform-native HTTP clients for πŸš€
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
Sebastien Pouliot 3f66dc7e6f Set AllowAutoRedirect to true when building inside Xamarin's SDK
This aligns the handler with the managed and CFNetwork-based ones
and makes it easier to switch between them without additional or
conditional code.
2016-06-09 08:49:56 -04:00
component Some changes to use the OkHttp NuGet instead of the embedded version 2015-08-21 06:06:22 +02:00
ext Add portable HttpClient headers 2014-05-06 15:37:41 -07:00
samples Some changes to use the OkHttp NuGet instead of the embedded version 2015-08-21 06:06:22 +02:00
src Set AllowAutoRedirect to true when building inside Xamarin's SDK 2016-06-09 08:49:56 -04:00
vendor/nuget Some changes to use the OkHttp NuGet instead of the embedded version 2015-08-21 06:06:22 +02:00
.gitignore Some changes to use the OkHttp NuGet instead of the embedded version 2015-08-21 06:06:22 +02:00
.gitmodules Some changes to use the OkHttp NuGet instead of the embedded version 2015-08-21 06:06:22 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2016-01-22 14:29:36 -08:00
COPYING Add license 2013-10-24 10:04:42 -07:00
Makefile Some changes to use the OkHttp NuGet instead of the embedded version 2015-08-21 06:06:22 +02:00
ModernHttpClient.nuspec Make sure we only include OkHttp on Android 2015-08-24 06:53:31 +02:00
ModernHttpClient.sln No more Obsoletes 2015-02-08 14:34:47 -08:00
README.md Update README.md 2015-10-23 14:15:05 +02:00

README.md

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