Skip to content

How to provide the token over WebSocket? #478

Open
@phryneas

Description

@phryneas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions