def cert
import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpinimport 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.