Beast Logo

PrevUpHomeNext

http::write_header

Write a header to a stream using a serializer.

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

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

PrevUpHomeNext