Crate arti_rpcserver

Source
Expand description

§arti-rpcserver

Backend for Arti’s RPC service

§Overview

This crate provides the code to listen as an Arti RPC server, accept and authenticate incoming connections, and decode and dispatch requests from clients, and maintain state necessary for a client RPC sessions.

License: MIT OR Apache-2.0

Structs§

Connection
An open connection from an RPC client.
RpcAuthentication
Information about how an RPC session has been authenticated.
RpcMgr
Shared state, configuration, and data for all RPC sessions.
RpcSession
An authenticated RPC session: a capability through which most other RPC functionality is available

Enums§

ConnectionError
A failure that results in closing a Connection.

Functions§

rpc_methods
Return a list of RPC methods that will be needed to use arti-rpcserver with the given runtime.