Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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)
Source by flask-socketio.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #flask #socketio #usage
ADD COMMENT
Topic
Name
8+4 =