Created
March 22, 2015 17:16
-
-
Save juliedavila/a667bf73a1b167f98ed3 to your computer and use it in GitHub Desktop.
websockets file for tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2014, Matt Makai | |
# All rights reserved. | |
# Full License can be read here: http://bit.ly/1qBgqzn | |
from flask.ext.socketio import emit | |
from . import socketio | |
@socketio.on('connect', namespace='/presentation') | |
def test_connect(): | |
pass | |
@socketio.on('disconnect', namespace='/presentation') | |
def test_disconnect(): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment