phaser-server  0.0.7
Public Member Functions | List of all members
Success Class Reference

An "ok" response. More...

#include <response.h>

Inheritance diagram for Success:
Inheritance graph
[legend]
Collaboration diagram for Success:
Collaboration graph
[legend]

Public Member Functions

 Success (void)
 A successful outcome with no additional message.
 
- Public Member Functions inherited from TextResponse
 TextResponse (Response_t, const char *=0, const char *=0)
 Construct an instance. More...
 
- Public Member Functions inherited from JsonResponse
 JsonResponse (Response_t type)
 Construct with the outcome enumeration.
 
std::string operator() (void)
 Get the JSON encoded response string.
 

Additional Inherited Members

- Public Types inherited from JsonResponse
enum class  Response_t { R_ok , R_warning , R_error }
 Status of processed request.
 
- Protected Member Functions inherited from TextResponse
virtual void Create (JSONObject &) override
 Add the optional text message if one was provided. More...
 

Detailed Description

An "ok" response.


The documentation for this class was generated from the following files: