Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to modify headers and protocols when using JavaScript client SDK (services package) #12686

Open
camer314 opened this issue Jun 12, 2022 · 0 comments

Comments

@camer314
Copy link

I am currently using a customized version of the jupyterlab/packages/services JavaScript SDK to allow me to add an Authorization Header to the requests and also to add custom protocols to the websocket connection. This allows me to programmatically control Jupyter server implementations such as Azure Notebooks and Azure Synapse Notebooks.

I think this could be a handy feature for users using this library if they are also connecting to servers behind proxies etc. that impose the same restrictions.

In my implementation I simply added callback parameters to ISettings which are invoked at the time the library needs to make a request or create a socket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants