aboutsummaryrefslogtreecommitdiff
path: root/api/game/socket.py
blob: 405d9cd7dc7718805a239b0203c07e6563966ffd (plain)
1
2
3
4
5
6
7
8
9
10
from flask import Blueprint, request, make_response
from flask_socketio import SocketIO, emit, disconnect
from main import socketio
import time
import json

@socketio.on("connect", namespace="/game/socket")
def connect():
    print("connected")