MCPcopy Create free account
hub / github.com/actix/examples / ping

Method ping

json/jsonrpc/src/main.rs:107–109  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

105
106impl ImplNetwork for ObjNetwork {
107 fn ping(&self) -> String {
108 String::from("pong")
109 }
110
111 fn wait(&self, d: u64) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn error::Error>>>>> {
112 async move {

Callers 5

handle_hbMethod · 0.80
hbMethod · 0.80
echo_heartbeat_wsFunction · 0.80
hbMethod · 0.80
rpc_selectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected