feat: integrate RpcMiddleware in IPC (#7790)

This commit is contained in:
Abner Zheng
2024-04-23 23:08:32 +08:00
committed by GitHub
parent 00ca9cd024
commit ee1c811c43
12 changed files with 483 additions and 197 deletions

View File

@@ -49,7 +49,7 @@ pub trait RethRpcConfig {
fn http_ws_server_builder(&self) -> ServerBuilder<Identity, Identity>;
/// Returns the default ipc server builder
fn ipc_server_builder(&self) -> IpcServerBuilder;
fn ipc_server_builder(&self) -> IpcServerBuilder<Identity, Identity>;
/// Creates the [RpcServerConfig] from cli args.
fn rpc_server_config(&self) -> RpcServerConfig;