pub trait OnRpcStarted<Node, EthApi>: Sendwhere
Node: FullNodeComponents,
EthApi: EthApiTypes,{
// Required method
fn on_rpc_started(
self: Box<Self>,
ctx: RpcContext<'_, Node, EthApi>,
handles: RethRpcServerHandles,
) -> Result<(), Report>;
}
Expand description
Event hook that is called once the rpc server is started.
Required Methods§
Sourcefn on_rpc_started(
self: Box<Self>,
ctx: RpcContext<'_, Node, EthApi>,
handles: RethRpcServerHandles,
) -> Result<(), Report>
fn on_rpc_started( self: Box<Self>, ctx: RpcContext<'_, Node, EthApi>, handles: RethRpcServerHandles, ) -> Result<(), Report>
The hook that is called once the rpc server is started.