| Home | Libraries | People | FAQ | More

#### 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>
    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_write(
        AsyncWriteStream& stream,
        message< isRequest, Body, Fields >& msg,
        WriteHandler&& handler);
      » more...

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