MCPcopy Create free account
hub / github.com/SeismicSystems/summit / new

Method new

rpc/src/builder.rs:36–42  ·  view source on GitHub ↗
(port: u16)

Source from the content-addressed store, hash-verified

34 {
35 self.inner.start(methods)
36 }
37
38 pub fn local_addr(&self) -> anyhow::Result<SocketAddr> {
39 self.inner.local_addr().map_err(Into::into)
40 }
41}
42
43impl RpcServerBuilder {
44 /// Listen on all interfaces (`0.0.0.0`).
45 pub fn new(port: u16) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected