|
C/C++ Reference
|
JRpcResp is responsible for sending a response to a JSON-RPC request. More...
#include <JRpc.h>
Public Member Functions | |
| JRpcResp (JErr *err, BufPrint *out) | |
| Create a JRpcResp object. | |
| ~JRpcResp () | |
| Terminate the object. | |
| JSerializer * | getSerializer () |
| Get the response JSON serializer. | |
| void | sendResponse () |
| Commit the data in the JSerializer. | |
JRpcResp is responsible for sending a response to a JSON-RPC request.
An instance of this class is typically created on the stack in a JRpcMethod function.