JSON-RPC 2.0
JSON-RPC 2.0 Modern C++ Library
Loading...
Searching...
No Matches
types.hpp File Reference
#include <functional>
#include <optional>
#include <variant>
#include <nlohmann/json.hpp>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:

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.