MCPcopy Create free account
hub / github.com/evilsocket/cake / addr

Method addr

cake-core/tests/protocol.rs:58–60  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

56 }
57
58 fn addr(&self) -> SocketAddr {
59 self.listener.local_addr().unwrap()
60 }
61
62 /// Handle exactly one client connection, then return.
63 async fn handle_one(self, cluster_key: Option<&str>) -> anyhow::Result<()> {

Callers 10

test_handshake_with_authFunction · 0.80
test_single_op_echoFunction · 0.80
test_batch_echoFunction · 0.80
bench_tcp_roundtripFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected