Beast Logo

PrevUpHomeNext

http::operator<<

Serialize a HTTP/1 header to a std::ostream.

template<
    bool isRequest,
    class Fields>
std::ostream&
operator<<(
    std::ostream& os,
    header< isRequest, Fields > const& msg);

Serialize a HTTP/1 message to a std::ostream.

template<
    bool isRequest,
    class Body,
    class Fields>
std::ostream&
operator<<(
    std::ostream& os,
    message< isRequest, Body, Fields > const& msg);
Requirements

Header: beast/http/write.hpp

Convenience header: beast/http.hpp


PrevUpHomeNext