Malloy
Loading...
Searching...
No Matches
Typedefs
malloy::tcp Namespace Reference

Typedefs

template<class RatePolicy = malloy::tcp::rate_policy::unlimited>
using stream = boost::beast::basic_stream< boost::asio::ip::tcp, boost::asio::any_io_executor, RatePolicy >
 

Detailed Description

A namespace for everything related to TCP.

Typedef Documentation

◆ stream

template<class RatePolicy = malloy::tcp::rate_policy::unlimited>
using malloy::tcp::stream = typedef boost::beast::basic_stream< boost::asio::ip::tcp, boost::asio::any_io_executor, RatePolicy >

A TCP stream.

A TCP stream has a rate policy. The default rate policy is malloy::tcp::rate_policy::unlimited.

Template Parameters
RatePolicythe rate policy.