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++.
- Host: GitHub
- URL: https://github.com/stepfenshawn/chttp
- Owner: StepfenShawn
- Created: 2020-08-12T06:45:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-12T06:48:17.000Z (almost 6 years ago)
- Last Synced: 2025-01-29T08:11:53.207Z (over 1 year ago)
- Language: C
- Size: 1000 Bytes
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!