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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

http::async_read

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

template<
    class AsyncReadStream,
    class DynamicBuffer,
    bool isRequest,
    class Derived,
    class ReadHandler>
DEDUCED
async_read(
    AsyncReadStream& stream,
    DynamicBuffer& buffer,
    basic_parser< isRequest, Derived >& parser,
    ReadHandler&& handler);
  » more...

Read a complete message from a stream asynchronously.

template<
    class AsyncReadStream,
    class DynamicBuffer,
    bool isRequest,
    class Body,
    class Allocator,
    class ReadHandler>
DEDUCED
async_read(
    AsyncReadStream& stream,
    DynamicBuffer& buffer,
    message< isRequest, Body, basic_fields< Allocator >>& msg,
    ReadHandler&& handler);
  » more...

PrevUpHomeNext