Net.Tls.open: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/net.bend as Net Lines 150-157 of bend-kube-runtime@0.2.0.0/src/net.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/net.bend&start_line=150&end_line=157 import Base import bend-kube-runtime@0.2.0.0/src/proxy.bend as P # Opens a verified TLS connection to host:port (see Tls.secure), through # the CONNECT tunnel of HTTPS_PROXY unless NO_PROXY or a loopback host # says otherwise (proxy.bend). def Tls.open(+host: String, +port: U32, ca: String, cert: String, key: String, +ms: U32) -> IO(Res(Socket)): IO.bind(String, Res(Socket), Tls.env("HTTPS_PROXY", "https_proxy"), url => IO.bind(String, Res(Socket), Tls.env("NO_PROXY", "no_proxy"), no => Tls.open.route(P.Proxy.route(url, no, host, port), host, port, ca, cert, key, ms))) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/net.bend&name=Res https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/net.bend&name=Tls.env https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/net.bend&name=Tls.open.route https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/proxy.bend&name=Proxy.route