An open API service indexing awesome lists of open source software.

https://github.com/stepfenshawn/chttp

A single-header HTTP request library for C/C++.
https://github.com/stepfenshawn/chttp

Last synced: about 1 year ago
JSON representation

A single-header HTTP request library for C/C++.

Awesome Lists containing this project

README

          

# What is Chttp?
Chttp is a single-header HTTP request library for C/C++.

# Example
A http GET request example:
```C++
#include "chttp.h"

int main()
{
/*
* GET(host, port, path)
*/
GET("www.baidu.com", 80, "");
return 0;
}
```

## TODO
* support the Linux and Mac OS
* Add more request types

## Contribution
Welcome to pull a request!