Wire.tls.connect.cert: def of bend-kit-wire@0.4.8.0 Import: import bend-kit-wire@0.4.8.0/wire.bend as Wire Lines 65-70 of bend-kit-wire@0.4.8.0/wire.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-wire@0.4.8.0/wire.bend&start_line=65&end_line=70 import Base # Use a PEM certificate chain and its private key for mutual TLS. # A load failure is EINVAL; a handshake or server verification failure is EPROTO. def tls.connect.cert(sock: Socket, host: String, ms: U32, cert_path: String, key_path: String) -> IO(Socket & Result<&1, &1, U32 & String, Unit>): import "./effs/wire.c" import "./effs/wire.js" Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit