MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / is_secure

Method is_secure

crates/cargo-lambda-remote/src/tls.rs:84–86  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

82 }
83
84 pub fn is_secure(&self) -> bool {
85 self.cert_path().is_some() && self.key_path().is_some()
86 }
87
88 pub fn server_config(&self) -> Result<Option<ServerConfig>> {
89 if !self.is_secure() {

Callers 3

server_configMethod · 0.80
build_runtime_stateFunction · 0.80
invoke_localMethod · 0.80

Calls 2

cert_pathMethod · 0.80
key_pathMethod · 0.80

Tested by

no test coverage detected