wenleix / aiohttp_recv_upon_close

Demonstrate aiohttp websocket client with concurrent receiving and close

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start Hypercorn Server

pip install -r requirements.txt
hypercorn app:app

Run aiohttp Websockt Client with Concurrent Recv and Close

python client.py

Results

Waiting for message
Closed code: None

The closed code is None.

About

Demonstrate aiohttp websocket client with concurrent receiving and close


Languages

Language:Python 100.0%