Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xflow1cpp library

My free C++ lib with tools for network applications.

Currently there is only one tool in the lib: rate limiter.

Rate limiter

Multithreaded black box rate limiter, to protect your API from overload.

Installation

Set this repo as a dependency in your project (or, simply clone the repo and #include "ratelimiter.h").
Check RateLimiter class doc comment and the examples dir for usage.

C++ version

CPP version: C++11 and up.
CPP version for google tests: C++14 and up.

How to build and run tests

Building tests:

mkdir build
cmake -B build --fresh  && cmake --build build 

Running tests:

./build/unit_tests
./build/unit_tests --gtest_filter=RateLimiterTest.AcquireWithinZeroLimit

Release Notes

v0.0.1 - Sept, 28, 2026

Rate limiter added.


LICENSE

About

My free C++ net library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages