A struct containing data members that correspond to common fields in a reply to a property exchange request. More...
#include <juce_CIPropertyDelegate.h>
Public Member Functions | |
var | toVarCondensed () const |
Converts a PropertyReplyHeader to a JSON object suitable for use as a MIDI-CI message header after conversion to 7-bit ASCII. | |
Static Public Member Functions | |
static PropertyReplyHeader | parseCondensed (const var &) |
Converts a JSON object to a PropertyReplyHeader. | |
Public Attributes | |
int | status = 200 |
String | message |
Encoding | mutualEncoding = Encoding::ascii |
int | cacheTime = 0 |
String | mediaType = "application/json" |
std::map< Identifier, var > | extended |
A struct containing data members that correspond to common fields in a reply to a property exchange request.
Check the Property Exchange specification to find the meaning of the different fields.
For extended attributes that don't correspond to any of the defined data members, use the 'extended' map.
|
static |
Converts a JSON object to a PropertyReplyHeader.
Unspecified fields will use their default values.
Referenced by midi_ci::PropertyExchangeResult::getHeaderAsReplyHeader().
var midi_ci::PropertyReplyHeader::toVarCondensed | ( | ) | const |
Converts a PropertyReplyHeader to a JSON object suitable for use as a MIDI-CI message header after conversion to 7-bit ASCII.
int midi_ci::PropertyReplyHeader::status = 200 |
String midi_ci::PropertyReplyHeader::message |
Encoding midi_ci::PropertyReplyHeader::mutualEncoding = Encoding::ascii |
int midi_ci::PropertyReplyHeader::cacheTime = 0 |
String midi_ci::PropertyReplyHeader::mediaType = "application/json" |
std::map<Identifier, var> midi_ci::PropertyReplyHeader::extended |