Awesome
EasyHttp
A cross-platform HTTP client library with a focus on usability and speed. Under its hood, EasyHttp uses POCO C++ Libraries and derives many of its design inspirations from okHttp, a well known HTTP client for Android and Java applications. Please check out Wiki for details.
Why another HTTP client?
Modern network applications need a powerful HTTP client. While we already have many well known C++ HTTP clients like, Poco::Net, Boost.Asio, cpprestsdk to name a few, they often lack features like a powerful response cache, HTTP connection pooling, debuggability etc which we all take it for granted for libraries targeted towards Android or iOS platforms. EasyHttp tries to fill that gap.
Features
- Powerful and easy to use HTTP client with synchronous and asynchronous apis.
- HTTP connection pooling support to reduce latency.
- HTTP response caching to optimize repeat requests.
- Hackable HTTP request/response with a concept of okHttp style Interceptors.
- Cross-platform and highly portable to many platforms.
- Automatic recovery during faulty network connections.
- Secure by default. Obsolete protocols like SSLv2, SSLv3 are disabled by default.
- Comprehensibly tested and is used internally in various Sony projects.
Getting Started
Installation
See Installing EasyHttp.
Samples
See samples. Also checkout common use-cases.
Api doc
See wiki for building api doc.
Library build options
See Build options.
License
This library is distributed under The MIT license. See LICENSE and NOTICE for more information.