Expand description
§turul-rpc-server
Async JSON-RPC 2.0 dispatcher and handler trait for turul-rpc. The
JsonRpcDispatcher<E> routes incoming requests to registered handlers
and converts handler-returned domain errors to JSON-RPC error responses
via the ToJsonRpcError trait.
Most consumers should depend on the turul-rpc facade instead of
this crate directly.
Re-exports§
pub use dispatcher::JsonRpcDispatcher;pub use handler::FunctionHandler;pub use handler::JsonRpcHandler;pub use handler::ToJsonRpcError;pub use session::SessionContext;