Expand description
Experimental RPC support.
Modules§
- conntarget π
- A wrapper around an RPC Object that can be used as a connection target.
- listener π
- Configure and activate RPC listeners from connect points.
- proxyinfo π
- Implement RPC functionality for finding what ports are running as proxies.
- session π
- Declare the RPC session object as exposed from the RPC server run by the
arti
crate.
Structs§
- Listen
Defaults Builder - Wrapper struct to help derive_builder find the right types and methods
- RpcConfig
- Configuration for Artiβs RPC subsystem.
- RpcConfig
Builder - Builder for
RpcConfig
. - RpcProxy
Support - Information passed to a SOCKS proxy or similar stream provider when running with RPC support.
Functions§
- launch_
all_ πlisteners - Bind to all configured RPC listeners in
cfg
. - launch_
rpc_ πmgr - Create an RPC manager, bind to connect points, and open a listener task to accept incoming RPC connections.
- listen_
defaults_ πdefaults - Return default values for
RpcConfig.listen_default
- run_
rpc_ πlistener - Backend function to implement an RPC listener: runs in a loop.
Type Aliases§
- Incoming
Conn π - Information about an incoming connection.
- Listen
Defaults π - Type alias to enable sub_builder to work.