module TLS

TLS: require "tls". A TLSSocket is a TLS connection over a TCPSocket, through rustls, a client's or a server's; TLS::Config says what a client trusts and offers, TLS::ServerConfig what a server presents and offers. Reads, writes and the handshake suspend only the calling task, as a socket's do, and a TLSSocket is Shareable as every IO: one write call goes out whole (in records of its own), one read call takes a whole unit.

<std:tls>:76

Classes and modules