def tls.connect
import bend-kit-wire@0.4.8.0/wire.bend as Wireimport Base
58# TLS over a connected TCP socket (OpenSSL 3, loaded at run time; BEND_LIBSSL
59# overrides its path). The certificate chain and host name are always checked.
60def tls.connect(sock: Socket, host: String, ms: U32) ->
61 IO(Socket & Result<&1, &1, U32 & String, Unit>):
62 import "./effs/wire.c"
63 import "./effs/wire.js"