Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 7789ef3d8d.
PrevUpHomeNext

simple_rate_policy

A rate policy with simple, configurable limits on reads and writes.

Synopsis

Defined in header <boost/beast/core/rate_policy.hpp>

class simple_rate_policy
Member Functions

Name

Description

read_limit

Set the limit of bytes per second to read.

write_limit

Set the limit of bytes per second to write.

Description

This rate policy allows for simple individual limits on the amount of bytes per second allowed for reads and writes.

See Also

beast::basic_stream


PrevUpHomeNext