csachs / picohttpclient

A tiny, no-dependencies, header-only HTTP 1.1 client library for C++ (very, very alpha)
MIT License
4 stars 3 forks source link
cpp header-only http-client tiny

picohttpclient

A generic, lightweight HTTP 1.1 client. It was born out of the need to quickly do very simple HTTP requests, without adding larger dependencies to a project.

License: MIT

Usage as easy as (see main.cpp for an example):

HTTPResponse response = HTTPClient::request(HTTPClient::GET, URI("http://example.com"));
cout << response.body << endl;