MCPcopy Create free account
hub / github.com/cosdata/cosdata / protocol

Method protocol

src/config_loader.rs:44–49  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

42
43impl ServerMode {
44 pub fn protocol(&self) -> &str {
45 match self {
46 Self::Http => "http",
47 Self::Https => "https",
48 }
49 }
50}
51
52// Custom type for Host

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected