micropython-lib/python-ecosys/aiohttp/aiohttp
jomas 05a56c3cad aiohttp: Allow headers to be passed to a WebSocketClient.
This commit will make it possible to add headers to a Websocket.

Among other things, this allows making a connection to online MQTT brokers
over websocket, using the header entry "Sec-WebSocket-Protocol":"mqtt" in
the handshake of the upgrade protocol.

Signed-off-by: Damien George <damien@micropython.org>
2025-04-13 00:20:58 +10:00
..
__init__.py aiohttp: Allow headers to be passed to a WebSocketClient. 2025-04-13 00:20:58 +10:00
aiohttp_ws.py aiohttp: Allow headers to be passed to a WebSocketClient. 2025-04-13 00:20:58 +10:00