def Tls.dial

bend-kube-runtime@0.2.0.0 · src/net.bend:24

import bend-kube-runtime@0.2.0.0/src/net.bend as Net
import 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"

Uses (5)

Used by (1)