Net.Tls.secure: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/net.bend as Net Lines 31-39 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=31&end_line=39 import Base # Handshakes on a connection from Tls.dial and verifies the server as host # (a name, or an IP literal), always: ca is a PEM bundle of trusted roots # ("" for the system's), cert and key a PEM client certificate and key ("" # for none), ms the handshake's deadline (0 for 30s). TLS 1.2 or later. A # failure closes the connection. def Tls.secure(sock: Socket, host: String, ca: String, cert: String, key: String, ms: U32) -> IO(Res(Socket)): import "./effs/tls.c" import "./effs/tls.js" Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO 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