All Projects → ferhatgec → curl4cpp

ferhatgec / curl4cpp

Licence: MIT license
Single header cURL wrapper for C++ around libcURL

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to curl4cpp

get header
This function is similar to the get_headers function
Stars: ✭ 35 (+150%)
Mutual labels:  curl, header
request
http requests DSL for R
Stars: ✭ 36 (+157.14%)
Mutual labels:  curl, curl-library
homebrew-portable-ruby
🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
Stars: ✭ 96 (+585.71%)
Mutual labels:  curl
http
Basic HTTP primitives which can be shared by servers and clients.
Stars: ✭ 75 (+435.71%)
Mutual labels:  header
github-base
Simple, opinionated node.js interface for creating basic apps with the GitHub API.
Stars: ✭ 58 (+314.29%)
Mutual labels:  get
domcurl
cUrl-like utility for fetching a resource (in this case we will run JS and return after network is idle) - great for JS heavy apps
Stars: ✭ 84 (+500%)
Mutual labels:  curl
poop
Firefox extension that prevents sending Origin headers when they are least likely to be necessary, to protect your privacy.
Stars: ✭ 36 (+157.14%)
Mutual labels:  header
react-banner
A dynamic banner/header component.
Stars: ✭ 25 (+78.57%)
Mutual labels:  header
api-test
🌿 A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+278.57%)
Mutual labels:  curl
curl
A PHP 5.4+ library for making asynchronous HTTP requests.
Stars: ✭ 73 (+421.43%)
Mutual labels:  curl
nativescript-getters
A NativeScript plugin that adds six new getters – in addition to the native "getViewById" method – to retrieve one or more views by tag, type, class, style, value pair or property.
Stars: ✭ 12 (-14.29%)
Mutual labels:  get
CwsShareCount
PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.
Stars: ✭ 13 (-7.14%)
Mutual labels:  curl
igdb
IGDB PHP API Wrapper
Stars: ✭ 20 (+42.86%)
Mutual labels:  curl
vscodefileheader
VSCode File Header
Stars: ✭ 17 (+21.43%)
Mutual labels:  header
react-native-header-search-bar
Fully customizable header search bar for React Native
Stars: ✭ 101 (+621.43%)
Mutual labels:  header
gohit
Run curl commands from yaml files
Stars: ✭ 19 (+35.71%)
Mutual labels:  curl
ambient
What can a public hotspot tell you?
Stars: ✭ 57 (+307.14%)
Mutual labels:  curl
peerai-api
Peerism's Peer.ai API built with Truffle, Node.js, Express.js, Solidity, and Ethereum TestRPC
Stars: ✭ 18 (+28.57%)
Mutual labels:  curl
c2ats
generate ATS interface from C code
Stars: ✭ 19 (+35.71%)
Mutual labels:  header
antk
Redkato, - Indonesian anime scraper
Stars: ✭ 14 (+0%)
Mutual labels:  curl

curl4cpp

single header cURL wrapper for C++ around libcURL.

An example:

#include <iostream>
#include <string>
#include "curl4.hpp"

int main() {
    curl4::CURL4 init = curl4::easy::init();

    {
        std::string val;

        init.setopt(CURLOPT_URL, "https://raw.githubusercontent.com/ferhatgec/bufsize/master/example.cpp");
        init.setopt(CURLOPT_WRITEFUNCTION, curl4::easy::writefunc);
        init.setopt(CURLOPT_WRITEDATA, &val);
        
        CURLcode res = curl4::easy::perform(init);

        std::cout << val << '\n';
    }

    return 0;
}

curl4cpp licensed under the terms of MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].