def tls.connect.cert

qasim-bend-kit@0.1.0.2 · libs/wire/wire.bend:51

import qasim-bend-kit@0.1.0.2/libs/wire/wire.bend as Wire
import Base

51# Use a PEM certificate chain and its private key for mutual TLS.
52# A load failure is EINVAL; a handshake or server verification failure is EPROTO.
53def tls.connect.cert(sock: Socket,
54                     host: String,
55                     ms: U32,
56                     cert_path: String,
57                     key_path: String) -> IO(Socket & Result<&1, &1, U32 & String, Unit>):
58    import "./effs/wire.c"
59    import "./effs/wire.js"

Uses (7)

Used by (0)

No other definition uses this definition.