Skip to content

Instantly share code, notes, and snippets.

View AMongeMoreno's full-sized avatar

Andrés Monge Moreno AMongeMoreno

View GitHub Profile
#############################################################################################################
######################################## Andres Monge 2014 ##############################################
#############################################################################################################
# #
# Extended tornado WebSocketHandler to act as events dispatcher (no channels, no users) #
# #
# class CustomWebSocketHandler(EventBasedWebSocketHandler): #
# #
# #Redefine basic methods 'open' 'close' and 'message' #
# def open(self):