anvil::server

Function serve_on

Source
pub async fn serve_on(
    tcp_listener: TcpListener,
    api: EthApi,
    config: ServerConfig,
) -> Result<()>
Expand description

Configures a server that handles EthApi related JSON-RPC calls via HTTP and WS.