def tls.connect

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

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

43# TLS over a connected TCP socket (OpenSSL 3, loaded at run time; BEND_LIBSSL
44# overrides its path). The certificate chain and host name are always checked.
45def tls.connect(sock: Socket,
46                host: String,
47                ms: U32) -> IO(Socket & Result<&1, &1, U32 & String, Unit>):
48    import "./effs/wire.c"
49    import "./effs/wire.js"

Uses (7)

Used by (0)

No other definition uses this definition.