def Tls.recv

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

import bend-kube-runtime@0.2.0.0/src/net.bend as Net
import Base

51# Up to max bytes (0: 16KiB); an empty list is the end of the stream. ms
52# bounds the wait (0: none), past which it fails with ETIMEDOUT (60).
53def Tls.recv(sock: Socket, max: U32, ms: U32) -> IO(Socket & Res(List<&2, U32>)):
54  import "./effs/tls.c"
55  import "./effs/tls.js"

Uses (6)

Used by (6)