Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
json_rpc.hpp File Reference
#include <pulp/runtime/message_channel.hpp>
#include <atomic>
#include <cstdint>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  pulp::runtime::JsonRpcError
 Structured JSON-RPC error. Matches spec §5.1. More...
struct  pulp::runtime::JsonRpcResult
 Result of a request handler: success JSON (result field) or error. More...
class  pulp::runtime::JsonRpcPeer

Namespaces

namespace  pulp
namespace  pulp::runtime

Typedefs

using pulp::runtime::JsonRpcMethodHandler
 Request handler: given a JSON-encoded params string (empty if omitted), return a JsonRpcResult.
using pulp::runtime::JsonRpcNotificationHandler
 Notification handler (incoming notifications carry no id and expect no response).
using pulp::runtime::JsonRpcResponseCallback
 Callback for the response to a request we sent.