bend-kit-wire
Search uses release 0.4.8.0 · 23 definitions
Definitions (23)
- def connectTCP connect to a numeric IPv4 or IPv6 address, with a deadline.
- def listenTCP listen on a numeric IPv4 or IPv6 address, nonblocking as Base TCP.listen.
- def accept.deadlineOne monotonic accept budget, ms: 1..2147483647.
- def recvOctet-String TCP and UDP effects are the slow path: one Char cell per byte.
- def send
- def idleTrue when no byte and no end of stream waits on sock; it reads nothing.
- def recv_from
- def send_to
- def tls.connectTLS over a connected TCP socket (OpenSSL 3, loaded at run time; BEND_LIBSSL overrides its path).
- def tls.connect.certUse a PEM certificate chain and its private key for mutual TLS.
- def tls.connect.alpnprotos is a comma-separated ALPN list (for example "h2,http/1.1").
- def tls.connect.caTrust the PEM certificates in ca_path for this handshake, instead of the default verify paths.
- def tls.connect.alpn.catls.connect.ca with a comma-separated ALPN list.
- def tls.sendThe String TLS effects are the slow path: one Char cell per octet.
- def tls.recv"" once the peer sends close_notify.
- def tls.closeEnds the TLS session and closes the socket.
- def recv.wordsThe .words forms move (len, words): bytes packed four to a U32, laid out as bytes/bytes.bend packs them, so no String cell is made per byte.
- def send.wordslen past the end of words fails with EINVAL.
- def send.words.deadlineTotal write budget, including packing; ms must be 1..2147483647.
- def recv_from.wordsUDP keeps the sender address and port beside the packed datagram.
- def send_to.wordslen past the end of words fails with EINVAL.
- def tls.recv.wordslen 0 once the peer sends close_notify.
- def tls.send.words