Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

ModernHttpClient

> 编程语言
Open source

HttpClient implementations that use platform-native HTTP clients for :rocket:

656 stars0 likes1 views
WebsiteGitHub

About

HttpClient implementations that use platform-native HTTP clients for :rocket:

ModernHttpClient

:exclamation: This project is not actively maintained. Consider using the handlers Xamarin provides. :exclamation:

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, NSURLSession
  • On Android, via OkHttp

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:

cs
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

bash
make

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

bash
## Run this first
make

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言