Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit b5c99c1c90.
PrevUpHomeNext

http::async_read

Read a complete message asynchronously from a stream using a parser.

template<
    class AsyncReadStream,
    class DynamicBuffer,
    bool isRequest,
    class ReadHandler = net::default_completion_token_t<            executor_type<AsyncReadStream>>>
DEDUCED
async_read(
    AsyncReadStream& stream,
    DynamicBuffer& buffer,
    basic_parser< isRequest >& parser,
    ReadHandler&& handler = net::default_completion_token_t< executor_type< AsyncReadStream >>{});
  » more...

Read a complete message asynchronously from a stream.

template<
    class AsyncReadStream,
    class DynamicBuffer,
    bool isRequest,
    class Body,
    class Allocator,
    class ReadHandler = net::default_completion_token_t<            executor_type<AsyncReadStream>>>
DEDUCED
async_read(
    AsyncReadStream& stream,
    DynamicBuffer& buffer,
    message< isRequest, Body, basic_fields< Allocator >>& msg,
    ReadHandler&& handler = net::default_completion_token_t< executor_type< AsyncReadStream >>{});
  » more...

PrevUpHomeNext