wamp_message.hpp
A class that represents a wamp message in its simplest form.
Definition: wamp_message.hpp:53
const msgpack::object & field(std::size_t index) const
Retrieves the field at the specified index.
wamp_message(std::size_t num_fields)
Constructs a wamp message with the given number of fields.
Definition: exceptions.hpp:37
void set_field(std::size_t index, const Type &type)
Sets the field at the specified index.
std::vector< msgpack::object > message_fields
A convenience type for representing message fields.
Definition: wamp_message.hpp:59
bool is_field_type(std::size_t index, msgpack::type::object_type type) const
Determines if the field at the specified index is of the given type.