Coverage for aiocoap/transports/__init__.py: 100%
0 statements
« prev ^ index » next coverage.py v7.6.8, created at 2024-11-28 12:34 +0000
« prev ^ index » next coverage.py v7.6.8, created at 2024-11-28 12:34 +0000
1# SPDX-FileCopyrightText: Christian Amsüss and the aiocoap contributors
2#
3# SPDX-License-Identifier: MIT
5"""Container module for transports
7Transports are expected to be the modular backends of aiocoap, and implement
8the specifics of eg. TCP, WebSockets or SMS, possibly divided by backend
9implementations as well.
11Transports are not part of the API, so the class descriptions in the modules
12are purely informational.
14Multiple transports can be used in parallel in a single :class:`.Context`, and
15are loaded in a particular sequence. Some transports will grab all addresses of
16a given protocol, so they might not be practical to combine. Which transports
17are started in a given Context follows the
18:func:`.defaults.get_default_clienttransports` function.
20The available transports are:
22.. the files in this directory.
23"""