|
CppWAMP
C++11 client library for the WAMP protocol
|
#include <cppwamp/msgpack.hpp>
Public Member Functions | |
| BasicMsgpackEncoder () | |
| Default constructor. | |
| ~BasicMsgpackEncoder () | |
| Destructor. | |
| void | encode (const Variant &variant, Output &output) |
| Serializes from the given variant to the given output (it does not first clear the output, by design). | |
Msgpack encoder.
This class uses jsoncons to serialize Msgpack payloads from Variant instances.
Meets the requirements of the CodecEncoder concept.
| O | The output type in which to encode. |
| C | The output category type (deduced). |