Skip to content

Conversation

@ZePedroResende
Copy link
Contributor

@ZePedroResende ZePedroResende commented Jan 5, 2026

Why

Some of the services that compose a stack have interaction that work with websockets , for example subscription on the anvil nodes

How

Add a condition on the proxy controller to check if its a websocket upgrade , if it is then we use the websock_adapter functions to upgrade the connection to a websock connection.
We take that new connection with the target service and we forward the frames to it using the gun client , on the webSocketProxy module.
We added some simple tests to check that a simple message, multiple messages and connection failure are handled gracefully.

@vercel
Copy link

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
stacks Ready Ready Preview, Comment Jan 7, 2026 0:26am

@ZePedroResende ZePedroResende marked this pull request as draft January 5, 2026 14:28
Copy link
Member

@naps62 naps62 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than the minor comments, this looks good to go 👍

@naps62 naps62 merged commit d8a8f5f into main Jan 8, 2026
5 checks passed
@naps62 naps62 deleted the zpr/ws branch January 8, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants