...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Helper class to assist implementing a RatePolicy.
Defined in header <boost/beast/core/rate_policy.hpp>
class rate_policy_access
This class is used by the implementation to gain access to the private members of a user-defined object meeting the requirements of RatePolicy. To use it, simply declare it as a friend in your class:
class custom_rate_policy { friend class beast::rate_policy_access; ...
Convenience header <boost/beast/core.hpp>