jupyterlab_iframe package¶
Submodules¶
-
class
jupyterlab_iframe.extension.
IFrameHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs)[source]¶ Bases:
notebook.base.handlers.IPythonHandler
-
jupyterlab_iframe.extension.
load_jupyter_server_extension
(nb_server_app)[source]¶ Called when the extension is loaded.
- Parameters
nb_server_app (NotebookWebApplication) – handle to the Notebook webserver instance.
-
class
jupyterlab_iframe.proxy.
ProxyHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs)[source]¶ Bases:
notebook.base.handlers.IPythonHandler
-
class
jupyterlab_iframe.proxy.
ProxyWSHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs)[source]¶ Bases:
tornado.websocket.WebSocketHandler
-
on_close
()[source]¶ Invoked when the WebSocket is closed.
If the connection was closed cleanly and a status code or reason phrase was supplied, these values will be available as the attributes
self.close_code
andself.close_reason
.Changed in version 4.0: Added
close_code
andclose_reason
attributes.
-
on_message
(message)[source]¶ Handle incoming messages on the WebSocket
This method must be overridden.
Changed in version 4.5:
on_message
can be a coroutine.
-
open
(*args)[source]¶ Invoked when a new WebSocket is opened.
The arguments to open are extracted from the tornado.web.URLSpec regular expression, just like the arguments to tornado.web.RequestHandler.get.
open may be a coroutine. on_message will not be called until open has returned.
Changed in version 5.1:
open
may be a coroutine.
-