• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/
2    Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
3
4    Distributed under the Boost Software License, Version 1.0. (See accompanying
5    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7    Official repository: https://github.com/boostorg/beast
8]
9
10[section:streams Streams]
11
12A stream in the context of Beast and networking, represents a full-duplex
13connection between two programs or hosts, where data represented as
14bytes may be received reliably in the same order they were written.
15Streams may support any combination of synchronous and/or asynchronous
16reading and writing.
17
18Stream concepts are based on named requirements in networking:
19
20[heading:Stream Stream]
21
22A type modeling [*Stream] meets either or both of the following requirements:
23
24* [*AsyncStream]
25* [*SyncStream]
26
27[heading:AsyncStream AsyncStream]
28
29A type modeling [*AsyncStream] meets the following requirements:
30
31* __AsyncReadStream__
32* __AsyncWriteStream__
33
34[heading:SyncStream SyncStream]
35
36A type modeling [*SyncStream] meets the following requirements:
37
38* __SyncReadStream__
39* __SyncWriteStream__
40
41[endsect]
42