Skip to content

Implemented WebSocket connection - #37

Open
YetAnotherMechanicusEnjoyer wants to merge 5 commits into
ih8js-git:stagingfrom
YetAnotherMechanicusEnjoyer:ws
Open

Implemented WebSocket connection#37
YetAnotherMechanicusEnjoyer wants to merge 5 commits into
ih8js-git:stagingfrom
YetAnotherMechanicusEnjoyer:ws

Conversation

@YetAnotherMechanicusEnjoyer

Copy link
Copy Markdown
Collaborator

As requested on issue #34, implemented WebSocket connection & Receiver to App (ws_client & ws_rx).
API & WebScoket base urls can now be changed via env variables.

@YetAnotherMechanicusEnjoyer

Copy link
Copy Markdown
Collaborator Author

I know this changes to multi-threaded, but this prevents heavy work from freezing the event loop and dropping the connection.

@YetAnotherMechanicusEnjoyer YetAnotherMechanicusEnjoyer linked an issue Jul 24, 2026 that may be closed by this pull request
@ih8js-git
ih8js-git requested a review from Copilot July 26, 2026 03:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ih8js-git

Copy link
Copy Markdown
Owner

This is kind of a nitpick, but instead of one single large events.rs we move the websocket stuff into src/api/ws.rs

@YetAnotherMechanicusEnjoyer

Copy link
Copy Markdown
Collaborator Author

Yea I could do that later, I'm heading to sleep

@YetAnotherMechanicusEnjoyer

Copy link
Copy Markdown
Collaborator Author

done @ih8js-git ! Events & WsClient are separated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api enhancement New feature or request websocket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a simple websocket connection Creating a Websocket connection to Stoat

3 participants