jstacoder/flask-tasks

View on GitHub
flask_tasks/messages.py

Summary

Maintainability
A
0 mins
Test Coverage
from flask_socketio import SocketIO

socket = SocketIO()

@socket.on('test')
def on_test(msg):
    print 'got message'