Changes between Version 31 and Version 32 of Software/Jupyter
- Timestamp:
- 10/15/17 21:42:55 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/Jupyter
v31 v32 100 100 * for communication back to the server functions from the JupyterHubAPI in [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js jhapi.js] are called 101 101 * jhapi.js uses [https://jquery.com/ jquery.js] for ajax-functionality (send/recive commands between client/server) 102 * values are send back to client with an an asynchronous HTTP (Ajax) request using jquery.ajax() [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L43 here] \\ => this triggers a handler of the tornado web server (eg. [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L 46 stop_server] sends command "STOP" to url users/<username>/server, which triggers function [https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/apihandlers/users.py#L184 UserServerAPIHandler::stop])102 * values are send back to client with an an asynchronous HTTP (Ajax) request using jquery.ajax() [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L43 here] \\ => this triggers a handler of the tornado web server (eg. [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L55 stop_server] sends command "DELETE" to url users/<username>/server, which triggers function [https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/apihandlers/users.py#L184 UserServerAPIHandler::stop]) 103 103 * start-server button 104 104