scoop:scoop.tls.asyncio:0.1.0
scoop.tls.asyncio
API
-
class
AsyncTlsStream
A TLS stream integrated with the current event loop and structured cancellation. The stream owns its transport after adoption and exposes plaintext through [AsyncByteStream].
-
function
openTlsClientContext
Creates a TLS client context for the current event loop and job. System trust loading runs as managed blocking work; the CA-file overload reads the file asynchronously. The returned context must be closed after use.