JSON-RPC 2.0
JSON-RPC 2.0 Modern C++ Library
|
#include <functional>
#include <optional>
#include <variant>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Namespaces | |
namespace | jsonrpc |
namespace | jsonrpc::server |
Typedefs | |
using | jsonrpc::server::MethodCallHandler |
Type alias for method call handler functions. | |
using | jsonrpc::server::NotificationHandler |
Type alias for notification handler functions. | |
using | jsonrpc::server::Handler = std::variant<MethodCallHandler, NotificationHandler> |
Type alias for a handler which can be either a method call handler or a notification handler. | |