Skip to main content

publish

Function publish 

Source
pub fn publish(
    certs: &Arc<ArcSwap<HashMap<String, ManagedCert>>>,
    id: &CertId,
    cert: ManagedCert,
)
Expand description

Replaces (or inserts) the entry for id. New TLS connections see it on their next resolve; in-flight ones are unaffected.