modifié: superTornado.py
This commit is contained in:
parent
54f193051b
commit
98b5d47f72
@ -47,7 +47,7 @@ class VideoHandler(tornado.web.RequestHandler):
|
|||||||
def get(self):
|
def get(self):
|
||||||
self.render("test.html")
|
self.render("test.html")
|
||||||
|
|
||||||
class WebSocketHandler(tornado.websocket.WebSocketHandler):
|
class WSHandler(tornado.websocket.WebSocketHandler):
|
||||||
def open(self, *args):
|
def open(self, *args):
|
||||||
self.id = self.get_argument("Id")
|
self.id = self.get_argument("Id")
|
||||||
self.stream.set_nodelay(True)
|
self.stream.set_nodelay(True)
|
||||||
|
Reference in New Issue
Block a user