Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 630 Bytes

File metadata and controls

22 lines (15 loc) · 630 Bytes

Examples

You can also find these in the examples/ directory of a source checkout.

Minimal client, using synchronous I/O

.. literalinclude:: ../../examples/basic-client.py
   :language: python


Fairly complete server with error handling, using Trio for async I/O

.. literalinclude:: ../../examples/trio-server.py
   :language: python