JSON message parsing for contract control messages. (#166)

This commit is contained in:
Ravin Perera
2020-11-26 09:31:39 +05:30
committed by GitHub
parent c41b37fd52
commit bb223b1e3a
11 changed files with 284 additions and 146 deletions

View File

@@ -0,0 +1,16 @@
#ifndef _HP_MSG_CONTROLMSG_COMMON_
#define _HP_MSG_CONTROLMSG_COMMON_
#include "../pchheader.hpp"
namespace msg::controlmsg
{
// Message field names
constexpr const char *FLD_TYPE = "type";
// Message types
constexpr const char *MSGTYPE_CONTRACT_END = "contract_end";
} // namespace msg::controlmsg
#endif