MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / acceptor

Method acceptor

crates/openshell-server/src/tls.rs:112–114  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

110 /// alive for the duration of the TLS handshake.
111 #[must_use]
112 pub fn acceptor(&self) -> tokio_rustls::TlsAcceptor {
113 tokio_rustls::TlsAcceptor::from(self.config.load_full())
114 }
115
116 /// Spawn a background worker that watches the parent directories of the
117 /// cert, key, and CA files and calls [`reload`](Self::reload) when changes

Calls

no outgoing calls