def cert

bend-kit-hairpin@0.14.0.0 · hairpin.bend:73

import bend-kit-hairpin@0.14.0.0/hairpin.bend as Hairpin
import Base
import bend-kit-http@0.38.1.1/http.bend as Http

73# Paths to a PEM client chain and its private key, presented to every HTTPS origin.
74def cert(c: Client, chain: String, key: String) -> Client:
75  Client{Opts{b, h, ms, mode, p, old, ca}, pool, j, br} = c
76  Client{Opts{b, h, ms, mode, p, Some{Http.Cert{chain, key}}, ca}, pool, j, br}

Uses (5)

Used by (0)

No other definition uses this definition.