virthttp
0.0
libvirt http interface
|
#include <json_utils.hpp>
Public Member Functions | |
JsonRes () | |
template<typename T > | |
void | result (T &&val) |
template<typename T > | |
void | message (T &&val) |
void | error (int code) |
JSON Response
|
inline |
|
inline |
Append an error
[in] | code | virthttp error code; see ErrorMessages |
|
inline |
Append a message
|
inline |
Append a result