Crate ash_rpc_stateful

Crate ash_rpc_stateful 

Source
Expand description

§ash-rpc-stateful

Stateful JSON-RPC handlers with shared context support.

This crate extends ash-rpc-core with stateful method handlers that can access shared application state through a service context.

§Features

  • Shared context - Pass application state to method handlers
  • Error handling - Proper error propagation through the context system
  • Method registry - Organize stateful methods in a registry
  • Type safety - Generic over context types for compile-time guarantees

Structs§

StatefulMethodRegistry
Registry for organizing stateful JSON-RPC methods
StatefulProcessor
StatefulProcessorBuilder

Traits§

ServiceContext
Trait for service context shared across stateful handlers
StatefulHandler
Trait for stateful JSON-RPC handlers
StatefulMethodHandler
Trait for stateful method handlers