Beast Logo

PrevUpHomeNext

http::write

Write a complete message to a stream using a serializer.

template<
    class SyncWriteStream,
    bool isRequest,
    class Body,
    class Fields,
    class Decorator>
void
write(
    SyncWriteStream& stream,
    serializer< isRequest, Body, Fields, Decorator >& sr);

template<
    class SyncWriteStream,
    bool isRequest,
    class Body,
    class Fields,
    class Decorator>
void
write(
    SyncWriteStream& stream,
    serializer< isRequest, Body, Fields, Decorator >& sr,
    error_code& ec);

Write a complete message to a stream.

template<
    class SyncWriteStream,
    bool isRequest,
    class Body,
    class Fields>
void
write(
    SyncWriteStream& stream,
    message< isRequest, Body, Fields > const& msg);

template<
    class SyncWriteStream,
    bool isRequest,
    class Body,
    class Fields>
void
write(
    SyncWriteStream& stream,
    message< isRequest, Body, Fields > const& msg,
    error_code& ec);

PrevUpHomeNext