#1510 closed enhancement (fixed)
add path option to html5 client
Reported by: | Rob Lemley | Owned by: | Rob Lemley |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | html5 | Version: | trunk |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (5)
Changed 4 years ago by
Attachment: | websocket-path.patch added |
---|
comment:1 Changed 4 years ago by
Owner: | changed from Antoine Martin to Rob Lemley |
---|
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).
comment:3 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for testing, merged in r15795. Closing.
comment:4 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1510
Note: See
TracTickets for help on using
tickets.
patch to add a path to the websocket uri