Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[runtime] allow changing the url and/or websocket connection payload of experimental websockets #6113

Open
martinbonnin opened this issue Aug 12, 2024 · 2 comments

Comments

@martinbonnin
Copy link
Contributor

Description

See #5862 (comment)

Some use cases require changing the url and/or websocket connection payload. Should we add that part of the request pipeline, same as we have "HTTP headers"?

@palomatxr
Copy link

I've encountered the same issue while trying to change the URL
Has there been any feature released recently that addresses this need?

@martinbonnin martinbonnin changed the title [runtime] allow changing the url and/or websocket connection payload [runtime] allow changing the url and/or websocket connection payload of experimental websockets Feb 19, 2025
@martinbonnin
Copy link
Contributor Author

Hi 👋 There is sadly nothing like this in the experimental WebSockets.

You can use the regular WebSocketNetworkTransport and serverUrl {} for this. serverUrl {} takes a lambda as parameter that will be called so you can update the url if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants