boostorg / beast

HTTP and WebSocket built on Boost.Asio in C++11
http://www.boost.org/libs/beast
Boost Software License 1.0
4.38k stars 640 forks source link

Parser Stream Operations documentation references wrong Stream types #1625

Open bsergeev opened 5 years ago

bsergeev commented 5 years ago

Version of Beast

1.70

Steps necessary to reproduce the problem

Open https://www.boost.org/doc/libs/1_70_0/libs/beast/doc/html/beast/using_http/parser_stream_operations.html

Problem:

5 out of 6 read functions listed in Table 1.22, Parser Stream Operations, refer to WriteStream, while they should refer to ReadStream.

vinniefalco commented 5 years ago

Yep, they are flipped