JSON RPC
JSON-RPC 2.0 library for C++
dispatcher_p.cpp File Reference

Implementation of the private members and methods of the JSON RPC dispatcher class. More...

#include "dispatcher_p.h"
#include "dispatcher.h"
#include "exception.h"
+ Include dependency graph for dispatcher_p.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{dispatcher_p.cpp}
 
namespace  wwa
 
namespace  wwa::json_rpc
 Library namespace.
 

Functions

static void wwa::json_rpc::from_json (const nlohmann::json &j, jsonrpc_request &r)
 Deserializes a JSON object into a jsonrpc_request structure.
 
bool anonymous_namespace{dispatcher_p.cpp}::is_valid_request_id (const nlohmann::json &id)
 Checks if the provided JSON value is a valid JSON RPC request ID.
 

Detailed Description

Implementation of the private members and methods of the JSON RPC dispatcher class.

This file contains the definitions of the private members and methods used by the dispatcher class to manage method handlers and process requests. It includes functions for parsing, validating, and invoking JSON RPC requests, as well as generating error responses.

Definition in file dispatcher_p.cpp.