You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Konstantin Ponomarev 1b62cd30c4 fix: ruff format 1 week ago
..
README.rst Simplified client (#1237) 2 years ago
fiddle_client.py fix: ruff format 1 week ago
latency_client.py fix: ruff format 1 week ago

README.rst

Socket.IO Simple Client Examples
================================

This directory contains example Socket.IO clients that are built using the
simplified client.

latency_client.py
-----------------

In this application the client sends *ping* messages to the server, which are
responded by the server with a *pong*. The client measures the time it takes
for each of these exchanges.

This is an ideal application to measure the performance of the different
asynchronous modes supported by the Socket.IO server.

fiddle_client.py
----------------

This is an extemely simple application based on the JavaScript example of the
same name.

Running the Examples
--------------------

These examples work with the server examples of the same name. First run one
of the ``latency.py`` or ``fiddle.py`` versions from one of the
``examples/server`` subdirectories. On another terminal, then start the
corresponding client::

$ python latency_client.py
$ python fiddle_client.py