MCPcopy Create free account
hub / github.com/OctaneWeb/Octane / with_config

Method with_config

src/server.rs:81–83  ·  view source on GitHub ↗

Appends the config of the Octane struct with a custom generated one. The Octane struct contains an OctaneConfig instance by default # Example ``` use octane::config::OctaneConfig; use octane::prelude::*; let mut app = Octane::new(); let mut config = OctaneConfig::new(); config.ssl.key("key.pem").cert("cert.pem"); // we supply some ssl certs and key in the config app.with_config(config); ``` No

(&mut self, config: OctaneConfig)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected