Skip to content

octoprint.vendor.sockjs.tornado.migrate#

WebsocketHandler #

Bases: conn.SockJSConnection

If you already use Tornado websockets for your application and want try sockjs-tornado, change your handlers to derive from this WebsocketHandler class. There are some limitations, for example only self.request only contains remote_ip, cookies and arguments collection

on_open(info) #

sockjs-tornado on_open handler

open() #

open handler