def tls.connect

bend-kit-wire@0.4.8.0 · wire.bend:58

import bend-kit-wire@0.4.8.0/wire.bend as Wire
import 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"

Uses (7)

Used by (5)