#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from flask_socketio import SocketIO, emit
from main import socketio

@socketio.on('connect')                                                         
def connect():                                                                  
    # emit('message', {'hello': "Hello"})   
    print("connect")
    

def hello():
    socketio.emit('message', {'goodbye': "Goodbye"})
c0e71511d560d64964e7e2fca65e919af70a10dc
<mask token>

<mask token>


@socketio.on('connect')
def connect():
    print('connect')


<mask token>

<mask token>


@socketio.on('connect')
def connect():
    print('connect')


def hello():
    socketio.emit('message', {'goodbye': 'Goodbye'})

from flask_socketio import SocketIO, emit
from main import socketio


@socketio.on('connect')
def connect():
    print('connect')


def hello():
    socketio.emit('message', {'goodbye': 'Goodbye'})

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from flask_socketio import SocketIO, emit
from main import socketio

@socketio.on('connect')                                                         
def connect():                                                                  
    # emit('message', {'hello': "Hello"})   
    print("connect")
    

def hello():
    socketio.emit('message', {'goodbye': "Goodbye"})