...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
A stream in the context of Beast and networking, represents a full-duplex connection between two programs or hosts, where data represented as bytes may be received reliably in the same order they were written. Streams may support any combination of synchronous and/or asynchronous reading and writing.
Stream concepts are based on named requirements in networking:
A type modeling Stream meets either or both of the following requirements:
A type modeling AsyncStream meets the following requirements:
A type modeling SyncStream meets the following requirements: