|
FastLED 3.9.15
|
HTTP Server Test Client for FastLED Asio Server Example
Tests the Server.ino HTTP server using httpx.
Usage:
uv run python examples/Asio/Server/test_client.py
uv run python examples/Asio/Server/test_client.py --host 192.168.1.100 --port 80
uv run pytest examples/Asio/Server/test_client.py
Classes | |
| class | RequestResult |
| class | TestConfig |
Functions | |
| None | display_statistics (list[RequestResult] results) |
| int | main () |
| list[RequestResult] | run_tests (TestConfig config) |
| RequestResult | send_request (httpx.Client client, str url, TestConfig config) |
| None | test_network_example () |
| bool | wait_for_server (TestConfig config) |
Variables | |
| console = Console() | |
| style | |