Please add the ability to pass the websocket path in as an option to the Client() constructor.
The use case is getting an Xpra client to run in another web application that uses its own websockets on other URLs and it would be nice to have Xpra follow the same pattern.
patch to add a path to the websocket uri
Rob Lemley: does the patch attached work for you?
You should be able to do:
client.host = "hostname.com; client.port = 443; client.ssl = true; client.path = "xpra/somepath"
And all the websocket requests should now go to: wss://hostname.com:443/xpra/somepath
.
Is this what you're after?
The patch also applies the path to the URL used for streaming audio (mostly used for IE).
Yes that works great! Thanks!
Thanks for testing, merged in r15795. Closing.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1510