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 b2e3d0f425.
PrevUpHomeNext

http::async_write

Write a complete message to a stream asynchronously using a serializer.

template<
    class AsyncWriteStream,
    bool isRequest,
    class Body,
    class Fields,
    class WriteHandler = net::default_completion_token_t<            executor_type<AsyncWriteStream>>>
DEDUCED
async_write(
    AsyncWriteStream& stream,
    serializer< isRequest, Body, Fields >& sr,
    WriteHandler&& handler = net::default_completion_token_t< executor_type< AsyncWriteStream >>{});
  » more...

Write a complete message to a stream asynchronously.

template<
    class AsyncWriteStream,
    bool isRequest,
    class Body,
    class Fields,
    class WriteHandler = net::default_completion_token_t<            executor_type<AsyncWriteStream>>>
DEDUCED
async_write(
    AsyncWriteStream& stream,
    message< isRequest, Body, Fields >& msg,
    WriteHandler&& handler = net::default_completion_token_t< executor_type< AsyncWriteStream >>{});
  » more...

template<
    class AsyncWriteStream,
    bool isRequest,
    class Body,
    class Fields,
    class WriteHandler = net::default_completion_token_t<            executor_type<AsyncWriteStream>>>
DEDUCED
async_write(
    AsyncWriteStream& stream,
    message< isRequest, Body, Fields > const& msg,
    WriteHandler&& handler = net::default_completion_token_t< executor_type< AsyncWriteStream >>{});
  » more...

PrevUpHomeNext