rpc.hpp 0.8.1
Simple RPC Header-Only Library
Static Public Member Functions | List of all members
rpc_hpp::adapters::rapidjson_adapter Class Reference
Inheritance diagram for rpc_hpp::adapters::rapidjson_adapter:

Static Public Member Functions

static std::string to_bytes (rapidjson::Document &&serial_obj)
 
static std::optional< rapidjson::Document > from_bytes (std::string &&bytes)
 
static rapidjson::Document empty_object ()
 
template<typename R , typename... Args>
static rapidjson::Document serialize_pack (const detail::packed_func< R, Args... > &pack)
 
template<typename R , typename... Args>
static detail::packed_func< R, Args... > deserialize_pack (const rapidjson::Document &serial_obj)
 
static std::string get_func_name (const rapidjson::Document &serial_obj)
 
static rpc_exception extract_exception (const rapidjson::Document &serial_obj)
 
static void set_exception (rapidjson::Document &serial_obj, const rpc_exception &ex)
 
template<typename T >
static rapidjson::Value serialize (const T &val, rapidjson::MemoryPoolAllocator<> &alloc)=delete
 
template<typename T >
static T deserialize (const rapidjson::Value &serial_obj)=delete
 

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