mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: integrate RpcMiddleware in IPC (#7790)
This commit is contained in:
@ -437,7 +437,7 @@ impl RethRpcConfig for RpcServerArgs {
|
||||
.max_subscriptions_per_connection(self.rpc_max_subscriptions_per_connection.get())
|
||||
}
|
||||
|
||||
fn ipc_server_builder(&self) -> IpcServerBuilder {
|
||||
fn ipc_server_builder(&self) -> IpcServerBuilder<Identity, Identity> {
|
||||
IpcServerBuilder::default()
|
||||
.max_subscriptions_per_connection(self.rpc_max_subscriptions_per_connection.get())
|
||||
.max_request_body_size(self.rpc_max_request_size_bytes())
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user