Files
pyasic/tools/web_monitor/index.py
2022-02-24 08:57:23 -07:00

8 lines
160 B
Python

from tools.web_monitor.app import sio
@sio.event
async def connect(sid, _environ) -> None:
"""Event for connection"""
await sio.emit('init', "hello")