Skip to main content

JSONRPC

Static JSONRPC 

Source
pub static JSONRPC: LazyLock<ProtocolBinding>
Expand description

The JSON-RPC binding — the v1.0 default.

A LazyLock<ProtocolBinding> because Arc::from is not const in 1.98, and an associated constant of type Self is not allowed on stable. The constant lives at module scope so callers reach it as agent_card::JSONRPC.