Initial commit

This commit is contained in:
2025-10-05 17:37:51 +09:00
parent 5cbe9a2524
commit 3a7fabb830
219 changed files with 81295 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# backend/socketio_events.py
import logging
from flask_socketio import SocketIO
def register_socketio_events(socketio: SocketIO):
@socketio.on('connect')
def on_connect():
logging.info("✅ 클라이언트가 연결되었습니다.")
socketio.emit('response', {'message': '✅ 서버에 연결되었습니다.'})
@socketio.on('disconnect')
def on_disconnect():
logging.info("⚠️ 클라이언트 연결이 해제되었습니다.")