test.html
This commit is contained in:
parent
d71f82c54b
commit
b99226a23d
@ -105,7 +105,7 @@ class DisconnectionHandler(BaseHandler):
|
|||||||
self.set_cookie("user", "0")
|
self.set_cookie("user", "0")
|
||||||
self.redirect("/")
|
self.redirect("/")
|
||||||
|
|
||||||
class DisconnectionHandler(websocket.WebSocketHandler):
|
class DisconnectionHandler(tornado.websocket.WebSocketHandler):
|
||||||
def open(self) :
|
def open(self) :
|
||||||
print "->Websocket opened"
|
print "->Websocket opened"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user