Answers for "flask socketio usage"

0

flask socketio usage

from flask import Flask, render_template
from flask_socketio import SocketIO

app = Flask(__name__)
app.config['SECRET_KEY'] = 'secret!'
socketio = SocketIO(app)

if __name__ == '__main__':
    socketio.run(app)
Posted by: Guest on October-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language