Module jsonrpc

Module jsonrpc 

Source
Expand description

§JSON-RPC 2.0 Implementation

This module provides a complete implementation of JSON-RPC 2.0 protocol with support for batching, streaming, and MCP-specific extensions.

Modules§

utils
Utility functions for JSON-RPC message handling

Structs§

JsonRpcBatch
JSON-RPC batch request/response
JsonRpcError
JSON-RPC error object
JsonRpcNotification
JSON-RPC notification message (no response expected)
JsonRpcRequest
JSON-RPC request message
JsonRpcResponse
JSON-RPC response message
JsonRpcVersion
JSON-RPC version type

Enums§

JsonRpcErrorCode
Standard JSON-RPC error codes
JsonRpcMessage
JSON-RPC message type (union of request, response, notification)

Constants§

JSONRPC_VERSION
JSON-RPC version constant