Files
pyasic/tools/web_monitor/index.py
2022-03-07 09:39:55 -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")