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 an old version of Boost. Click here to view this page for the latest version.
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.

Concepts
See Also

basic_stream

Convenience header <boost/beast/core.hpp>


PrevUpHomeNext