|
rpc.hpp 0.8.1
Simple RPC Header-Only Library
|
Static Public Member Functions | |
| static std::string | to_bytes (boost::json::value &&serial_obj) |
| static std::optional< boost::json::object > | from_bytes (std::string &&bytes) |
| static boost::json::object | empty_object () |
| template<typename R , typename... Args> | |
| static boost::json::object | serialize_pack (const detail::packed_func< R, Args... > &pack) |
| template<typename R , typename... Args> | |
| static detail::packed_func< R, Args... > | deserialize_pack (const boost::json::object &serial_obj) |
| static std::string | get_func_name (const boost::json::object &serial_obj) |
| static rpc_exception | extract_exception (const boost::json::object &serial_obj) |
| static void | set_exception (boost::json::object &serial_obj, const rpc_exception &ex) |
| template<typename T > | |
| static boost::json::object | serialize (const T &val)=delete |
| template<typename T > | |
| static T | deserialize (const boost::json::object &serial_obj)=delete |