dev-tunnels
dev-tunnels copied to clipboard
How to provide the token over WebSocket?
trafficstars
When making a HTTP connection, according to the documentation, I can send the token in a header like X-Tunnel-Authorization: tunnel <TOKEN>.
Now, the normal WebSocket class has no way of sending any headers.
So, how can I provide this token on a WebSocket connection?
If this is not possible yet, may I request this as a feature?
Maybe something like wss://my-id-7095.euw.devtunnels.ms/?tunnel-token=token?