Code Monkey home page Code Monkey logo

curlinho's Introduction

curlinho

A minimalist wrapper around curl, with compability with recent features like http2.0 protocol This project is based on the design of C++ Requests (Curl for People) project.

This Project is compatible with Mac osx and Windows (MSVC).

The Pre-compiled libraries and binaries of Curl and its dependencies, necessary for the curlinho to work, are available in the dependencies folder.

Features

Curlinho currently supports:

  • Custom headers
  • Url encoded parameters
  • Basic authentication
  • Timeout specification
  • Asynchronous requests
  • Callback interface
  • Custom Retry Policy
  • Fully Concurrent POST requests
  • OpenSSL
  • HTTP/2 Protocol
  • Hmac authetication

Integration

If you need to integrate Curlinho with your project, the primary way is to use git submodules. Add this repository as a submodule of your root repository:

git submodule add [email protected]:jlsilva1994/curlinho.git
OR 
git submodule add https://github.com/jlsilva1994/curlinho.git

git submodule update --init --recursive

Next, add this subdirectory to your CMakeLists.txt before declaring any targets that might use it:

add_subdirectory(curlinho)

This will produce two important CMake variables, CURLINHO_INCLUDE_DIRS and CURLINHO_LIBRARIES, which you'll use in the typical way:

include_directories(${CURLINHO_INCLUDE_DIRS})
target_link_libraries(your_target_name ${CURLINHO_LIBRARIES})

curlinho's People

Contributors

jlsilva1994 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

curlinho's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.