Skip to content

Eslem/CppHttp

Repository files navigation

CppHttp Build Status

Simple Cpp Http header library using curl

Features

  • Simple get request allowing set and return headers.
  • Simple post request allowing set and return headers.
  • Chunked Http

Usage

  • GET
    std::string Http::get(string url, [map<string, string] headers={}], [std::string *headerPtr=nullptr]);
  • POST
    std::string Http::post(string url, map<string, string> params, [map<string, string> headers={}], [string *headerPtr=nullptr]);
  • Chunk
    Http::HttpChunked request{[](const string &data){}}; //Lambda Function
    request.start();

About

Simple Cpp Http header library using curl

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors