10 #ifndef BOOST_BEAST_HTTP_READ_HPP 11 #define BOOST_BEAST_HTTP_READ_HPP 69 bool isRequest,
class Derived>
72 SyncReadStream& stream,
73 DynamicBuffer& buffer,
74 basic_parser<isRequest, Derived>& parser);
124 class SyncReadStream,
126 bool isRequest,
class Derived>
129 SyncReadStream& stream,
130 DynamicBuffer& buffer,
131 basic_parser<isRequest, Derived>& parser,
196 class AsyncReadStream,
198 bool isRequest,
class Derived,
200 #if BOOST_BEAST_DOXYGEN 207 AsyncReadStream& stream,
208 DynamicBuffer& buffer,
209 basic_parser<isRequest, Derived>& parser,
210 ReadHandler&& handler);
260 class SyncReadStream,
262 bool isRequest,
class Derived>
265 SyncReadStream& stream,
266 DynamicBuffer& buffer,
267 basic_parser<isRequest, Derived>& parser);
315 class SyncReadStream,
317 bool isRequest,
class Derived>
320 SyncReadStream& stream,
321 DynamicBuffer& buffer,
322 basic_parser<isRequest, Derived>& parser,
384 class AsyncReadStream,
386 bool isRequest,
class Derived,
388 #if BOOST_BEAST_DOXYGEN 395 AsyncReadStream& stream,
396 DynamicBuffer& buffer,
397 basic_parser<isRequest, Derived>& parser,
398 ReadHandler&& handler);
448 class SyncReadStream,
450 bool isRequest,
class Derived>
453 SyncReadStream& stream,
454 DynamicBuffer& buffer,
455 basic_parser<isRequest, Derived>& parser);
503 class SyncReadStream,
505 bool isRequest,
class Derived>
508 SyncReadStream& stream,
509 DynamicBuffer& buffer,
510 basic_parser<isRequest, Derived>& parser,
572 class AsyncReadStream,
574 bool isRequest,
class Derived,
576 #if BOOST_BEAST_DOXYGEN 584 AsyncReadStream& stream,
585 DynamicBuffer& buffer,
586 basic_parser<isRequest, Derived>& parser,
587 ReadHandler&& handler);
636 class SyncReadStream,
638 bool isRequest,
class Body,
class Allocator>
641 SyncReadStream& stream,
642 DynamicBuffer& buffer,
643 message<isRequest, Body, basic_fields<Allocator>>& msg);
690 class SyncReadStream,
692 bool isRequest,
class Body,
class Allocator>
695 SyncReadStream& stream,
696 DynamicBuffer& buffer,
697 message<isRequest, Body, basic_fields<Allocator>>& msg,
760 class AsyncReadStream,
762 bool isRequest,
class Body,
class Allocator,
764 #if BOOST_BEAST_DOXYGEN 772 AsyncReadStream& stream,
773 DynamicBuffer& buffer,
774 message<isRequest, Body, basic_fields<Allocator>>& msg,
775 ReadHandler&& handler);
StreamHandler ReadHandler
Definition: type_traits.hpp:356
Definition: async_result.hpp:20
async_return_type< ReadHandler, void(error_code, std::size_t)> async_read_header(AsyncReadStream &stream, DynamicBuffer &buffer, basic_parser< isRequest, Derived > &parser, ReadHandler &&handler)
Definition: read.ipp:630
async_return_type< ReadHandler, void(error_code, std::size_t)> async_read_some(AsyncReadStream &stream, DynamicBuffer &buffer, basic_parser< isRequest, Derived > &parser, ReadHandler &&handler)
Definition: read.ipp:546
Definition: beast_common.hpp:6
boost::system::error_code error_code
The type of error code used by the library.
Definition: error.hpp:21
std::size_t read(SyncReadStream &stream, DynamicBuffer &buffer, basic_parser< isRequest, Derived > &parser)
Definition: read.ipp:657
std::size_t read_some(SyncReadStream &stream, DynamicBuffer &buffer, basic_parser< isRequest, Derived > &parser)
Definition: read.ipp:454
async_return_type< ReadHandler, void(error_code, std::size_t)> async_read(AsyncReadStream &stream, DynamicBuffer &buffer, basic_parser< isRequest, Derived > &parser, ReadHandler &&handler)
Definition: read.ipp:715
typename beast::async_result< typename std::decay< CompletionToken >::type, Signature >::return_type async_return_type
Definition: async_result.hpp:204
std::size_t read_header(SyncReadStream &stream, DynamicBuffer &buffer, basic_parser< isRequest, Derived > &parser)
Definition: read.ipp:572