Crate axum_jrpc

Crate axum_jrpc 

Source

Modules§

error

Structs§

JsonRpcExtractor
Parses a JSON-RPC request, and returns the request ID, the method name, and the parameters. If the request is invalid, returns an error.
JsonRpcRequest
JsonRpcResponse
A JSON-RPC response.

Enums§

Id
An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null and Numbers SHOULD NOT contain fractional parts
JsonRpcAnswer
JsonRpc response object
Value
Represents any valid JSON value.

Type Aliases§

JrpcResult
Hack until try_trait_v2 is not stabilized