We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e0806 commit 78c59a1Copy full SHA for 78c59a1
py/visdom/server/handlers/socket_handlers.py
@@ -297,7 +297,7 @@ def on_close(self):
297
298
# TODO condense some of the functionality between this class and the
299
# original SocketHandler class
300
-class ClientSocketWrapper():
+class SocketWrapper():
301
"""
302
Wraps all of the socket actions in regular request handling, thus
303
allowing all of the same information to be sent via a polling interface
@@ -475,7 +475,7 @@ def post(self):
475
@check_auth
476
def get(self):
477
"""Create a new socket wrapper for this requester, return the id"""
478
- new_sub = ClientSocketWrapper(self.app)
+ new_sub = SocketWrapper(self.app)
479
self.write(json.dumps({'success': True, 'sid': new_sub.sid}))
480
481
0 commit comments