MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / run_http

Function run_http

fendermint/eth/api/examples/ethers.rs:713–719  ·  view source on GitHub ↗

The HTTP interface provides JSON-RPC request/response endpoints.

(mut provider: Provider<Http>, opts: &Options)

Source from the content-addressed store, hash-verified

711
712/// The HTTP interface provides JSON-RPC request/response endpoints.
713async fn run_http(mut provider: Provider<Http>, opts: &Options) -> anyhow::Result<()> {
714 tracing::info!("Running the tests over HTTP...");
715 adjust_provider(&mut provider);
716 run(&provider, opts).await?;
717 tracing::info!("HTTP tests finished");
718 Ok(())
719}
720
721/// The WebSocket interface provides JSON-RPC request/response interactions
722/// as well as subscriptions, both using messages over the socket.

Callers 1

mainFunction · 0.70

Calls 2

adjust_providerFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected