Chttp is a single-header HTTP request library for C/C++.
A http GET request example:
#include "chttp.h"
int main()
{
/*
* GET(host, port, path)
*/
GET("www.baidu.com", 80, "");
return 0;
}
- support the Linux and Mac OS
- Add more request types
Welcome to pull a request!