mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-09 12:17:07 +00:00
Add IPC support (#6348)
This is useful for both security and performance reasons. IPC is faster than TCP, and it is subject to OS access controls.
This commit is contained in:
1 parent
e99ff8ee96
commit
e2f5e4bd74
10 files changed
+136
-1
No files matched your search
@@ -67,6 +67,8 @@ pub struct Configuration {
|
||||
pub rpc_http: Option<SocketAddr>,
|
||||
/// RPC over Websockets binding address. `None` if disabled.
|
||||
pub rpc_ws: Option<SocketAddr>,
|
||||
/// RPC over IPC binding path. `None` if disabled.
|
||||
pub rpc_ipc: Option<String>,
|
||||
/// Maximum number of connections for WebSockets RPC server. `None` if default.
|
||||
pub rpc_ws_max_connections: Option<usize>,
|
||||
/// CORS settings for HTTP & WS servers. `None` if all origins are allowed.
|
||||
|
||||
Reference in new issue
Block a user