Skip to main content

Module batch

Module batch 

Source
Expand description

JSON-RPC Batch Request/Response Support (2025-11-25)

Module provides support for JSON-RPC batch operations as defined in the JSON-RPC 2.0 specification, even though the MCP spec notes “simplified JSON-RPC without batching”. Implementation is provided for completeness and future compatibility

Structs§

BatchProcessor
Helper for processing batch requests
BatchRequest
A JSON-RPC batch request containing multiple requests/notifications
BatchResponse
A JSON-RPC batch response containing multiple responses/errors

Enums§

BatchRequestItem
Individual item in a batch request
BatchResponseItem
Individual item in a batch response