Giter Site home page Giter Site logo

violanes / muskrat_http Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 0.0 9 KB

Lightweight HTTP C++ library / curl wrapper for web scrappers, session emulators, restful applications inspired by Laravel HTTP client / Guzzle

CMake 4.91% C++ 95.09%
curl curlwrapper http http-requests libcurl scrapper

muskrat_http's Introduction

MuskratHTTP C++ HTTP client

About

Muskrat is a lightweight HTTP client and curl wrapper written in modern C++ inspired by Laravel HTTP client/guzzle. Muskrat provides many useful features for purposes such as web scrapping, session emulation, oauth processing, and REST API calls.

It's a header only thread safe library written in C++ 17 with only one dependency.

Documentation | Examples

Features

  • Ability to send custom request headers
  • Ability to set cookies
  • GET/POST methods support
  • Automated request retry on failure
  • Configurable timeouts
  • Flexible and simple request builder
  • Request authorization support
  • Proxy support
  • Thread safety

Dependencies

  • libcurl (8.0.0+ version recommended)

Why?

I've had several projects that require advanced web scrapping and session emulation lately. Although the requirements are not rocket science, I struggled to find decent http client that would suit my needs yet be lightweight and easy to maintain, that's why I paid with one hour of my time in bed for this project creation. It's heavily inspired by Laravel HTTP client (guzzle wrapper), so you can find lots of similarities between the two.

Why muskrat?

Muskrats are cool, and there are a lot of them in Khabarovsk. I would've written here more explanation and what I think, but 280.1 won't let me.

Peace to you and your home

muskrat_http's People

Contributors

violanes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

muskrat_http'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.