def Tls.dial
import bend-kube-runtime@0.2.0.0/src/net.bend as Netimport Base
24# A plain TCP connection: host may be a name (resolved, IPv4 or IPv6) or an
25# IP literal; ms bounds the connect (0 for 30s). Until Tls.secure, Tls.send
26# and Tls.recv carry its bytes as they are.
27def Tls.dial(host: String, port: U32, ms: U32) -> IO(Res(Socket)):
28 import "./effs/tls.c"
29 import "./effs/tls.js"