-
Notifications
You must be signed in to change notification settings - Fork 3
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
Allow different suffixes for websockets and HTTP connections #9
Comments
Obviously you can overcome any library limitation through a local branch. |
I confirmed that websockets has to be registered as a websocket which handles the http upgrade. If your lightstreamer address was something like: Here is the Azure documentation: https://docs.microsoft.com/en-us/azure/api-management/websocket-api |
Thank you for the information. What can you do as a workaround in the meantime?
|
Hi, my temporary solution is to intercept the |
Hi, thank you for the update. |
Currently, all Websockets and HTTP connections use the
lightstreamer
url suffix. I would like to be able to set the HTTP connections to use another suffix. different than the WebSocket suffix.The reason is I have an API gateway (Azure) that require websockets have their own suffix unique from any HTTP suffixes.
Example currently implemented:
wss://some-domain/lightstreamer
https://some-domain/lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0
Requested feature:
client.setHttpSuffix('lightstreamer-http')
So these would be the new urls:
wss://some-domain/lightstreamer
https://some-domain/lightstreamer-http/create_session.txt?LS_protocol=TLCP-2.1.0
lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0
The text was updated successfully, but these errors were encountered: