MCPcopy Create free account
hub / github.com/RiotGames/developer-relations / Server

Class Server

sample_apps/rso_sample_apps/rust/src/config.rs:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14/// Configuration for the server, including address and optional TLS settings.
15#[derive(Debug, PartialEq, Serialize, Deserialize, Clone)]
16pub struct Server {
17 /// The server's address in the format `ip:port`.
18 pub addr: String,
19 /// Optional TLS configuration for secure connections.
20 pub tls: Option<Tls>,
21}
22
23/// Main configuration structure for the application.
24///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected