Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

JSON-RPC 2.0 method dispatch. Transport-agnostic.

No string-literal matching. Every wire method name is registered exactly once in Method::ALL. The compiler enforces that every variant has a handler via exhaustive match.

Structs§

RpcDispatcher
Per-connection dispatcher. Shared state lives in RpcContext.

Enums§

Method

Constants§

RPC_PROTOCOL_VERSION
Wire protocol version. Bump on breaking changes.