9#include <nlohmann/json.hpp>
15using RequestId = std::variant<int64_t, std::string>;
18 nlohmann::json(
const std::optional<nlohmann::json>& params);
22using Handler = std::variant<MethodCallHandler, NotificationHandler>;
void(const std::optional< nlohmann::json > ¶ms) NotificationHandler
nlohmann::json(const std::optional< nlohmann::json > ¶ms) MethodCallHandler
std::variant< int64_t, std::string > RequestId
constexpr std::string_view kJsonRpcVersion
std::variant< MethodCallHandler, NotificationHandler > Handler
constexpr size_t kDefaultMaxBatchSize
constexpr auto kDefaultRequestTimeout