Beast Logo

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>
void-or-deduced
async_write(
    AsyncWriteStream& stream,
    serializer< isRequest, Body, Fields >& sr,
    WriteHandler&& handler);
  » more...

Write a complete message to a stream asynchronously.

template<
    class AsyncWriteStream,
    bool isRequest,
    class Body,
    class Fields,
    class WriteHandler>
async_return_type< WriteHandler, void(error_code)>
async_write(
    AsyncWriteStream& stream,
    message< isRequest, Body, Fields >& msg,
    WriteHandler&& handler);
  » more...

PrevUpHomeNext