Coverage for aiocoap/transports/__init__.py: 100%

0 statements  

« prev     ^ index     » next       coverage.py v7.6.3, created at 2024-10-15 22:10 +0000

1# SPDX-FileCopyrightText: Christian Amsüss and the aiocoap contributors 

2# 

3# SPDX-License-Identifier: MIT 

4 

5"""Container module for transports 

6 

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. 

10 

11Transports are not part of the API, so the class descriptions in the modules 

12are purely informational. 

13 

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. 

19 

20The available transports are: 

21 

22.. the files in this directory. 

23"""