libcurlez

[full]

c++ wrapper for libcurl's easy API

A C++ library wrapping libcurl's easy API, allowing you to easily perform synchronous HTTP queries.

Example

Simple query:

#include <libcurlez/curlez.hxx>
#include <iostream>

int main()
{
  Curl query;
  unsigned short status;

  query.url("http://google.fr")
       .follow_redirects();
  switch (status = query.perform())
  {
  case 0:
    std::cout << "CURL error: " << query.error() << std::endl;
    break ;
  default:
    std::cout << "Received status: " << status;
    break ;
  }
  return 0;
}
... More
license BSD-3-Clause
project libcurlez
url github.com/Plaristote/libcurlez.git
1 Version
version 1.0.0
repository https://pkg.cppget.org/1/stable
depends 1; libcurl
reviews +1