|
phaser-server
0.0.6
|
Abstract base for all responses. More...
#include <response.h>

Public Types | |
| enum class | Response_t { R_ok , R_warning , R_error } |
| Status of processed request. | |
Public Member Functions | |
| JsonResponse (Response_t type) | |
| Construct with the outcome enumeration. | |
| std::string | operator() (void) |
| Get the JSON encoded response string. | |
Protected Member Functions | |
| virtual void | Create (JSONObject &)=0 |
| Create the JSON encoded response. | |
Abstract base for all responses.