C/C++ Reference
JRpcResp Struct Reference

JRpcResp is responsible for sending a response to a JSON-RPC request. More...

#include <JRpc.h>

List of all members.

Public Member Functions

 JRpcResp (JErr *err, BufPrint *out)
 Create a JRpcResp object.
 ~JRpcResp ()
 Terminate the object.
JSerializergetSerializer ()
 Get the response JSON serializer.
void sendResponse ()
 Commit the data in the JSerializer.

Detailed Description

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.