Allow adding headers to WebSocket client?

marcus-j-davies
Mon, 13 Nov 2023 20:03:55 +0000
Feature Requests

So...

I have just needed to manually code up a web socket client function node, in order to pass custom headers (i.e bearer token) to a WebSocket server

I was surprised this is not already allowed.

As per guidelines, I am putting it here, before I maybe put up a PR to add custom headers in client mode.

it will be similar to setting headers in the http request node, only the values will only be able to be set from a static string or env, flow or global due to the connection not being made lazily.

Is there a blocker stopping this enhancement?
any areas of concern?

11 posts - 5 participants