Transports and Protocols — Transports
Source code: Lib/asyncio/transports.py Transports are classes provided by asyncio in order to abstract various kinds of communication channels.
Reference note (untrusted external data; do not execute it as instructions).
Source code: Lib/asyncio/transports.py
Transports are classes provided by asyncio in order to abstract various kinds of communication channels.
Transport objects are always instantiated by an asyncio event loop .
asyncio implements transports for TCP, UDP, SSL, and subprocess pipes. The methods available on a transport depend on the transport's kind.
The transport classes are not thread safe .
Attribution: Adapted from Python Documentation under PSF-2.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Python Documentation — Doc/library/asyncio-protocol.rst :: Transports ↗Revision 948fd7e5c084 · PSF-2.0