Boost C++ Libraries

PrevUpHomeNext

Function template chunk_body_from

boost::taar::chunk_body_from — Serialise value into the bytes of one HTTP chunk.

Synopsis

// In header: <boost/taar/core/chunk_body_from.hpp>


template<has_chunk_body_from T> std::string chunk_body_from(T && value);

Description

A user-defined tag_invoke(chunk_body_from_tag<...>, ...) overload takes precedence over the built-in conversions for std::string, std::string_view, char const*, arithmetic values, boost::json::value (serialised as JSON), and byte buffers.


PrevUpHomeNext