Skip to content

PoC : mqtt,websocket and gRPC#1654

Open
badnikhil wants to merge 4 commits intofoss42:mainfrom
badnikhil:protocol-expansion-poc
Open

PoC : mqtt,websocket and gRPC#1654
badnikhil wants to merge 4 commits intofoss42:mainfrom
badnikhil:protocol-expansion-poc

Conversation

@badnikhil
Copy link
Copy Markdown
Contributor

@badnikhil badnikhil commented Apr 12, 2026

PR Description

  • Key Changes:
  • Polymorphic Protocol Architecture: Re-engineered RequestModel using a modular ProtocolModel system to scale beyond REST.
  • Multi-Protocol Support: Added native integration for MQTT (v5/v3), gRPC (Reflection/Streaming), and WebSockets.
  • Centralized Connection Management: Introduced a singleton ConnectionManager to handle the lifecycle and cleanup of persistent socket/channel connections.
  • Live Event Streaming: Implemented a unified EventStreamView UI to track real-time message logs (Sent/Received/Errors) across all protocols.
  • State Decoupling: Moved protocol-specific data into specialized models to minimize state pollution in the core application logic.

Related Issues

  • Closes #

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: please replace this line with details on why tests have not been included

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@badnikhil
Copy link
Copy Markdown
Contributor Author

badnikhil commented Apr 12, 2026

@animator gRPC responses are currently raw binary , but I’ll add the decoder to make them human-readable soon..

I forgot to unhide the cursor but the demonstration is clear enough.
Screencast from 2026-04-12 21-05-08.webm

@badnikhil badnikhil changed the title feat: core mqtt and ws functionality , gRPC initial implementation PoC : mqtt,websocket and gRPC Apr 12, 2026
@badnikhil
Copy link
Copy Markdown
Contributor Author

badnikhil commented Apr 12, 2026

image

Finally the binary decoding is implemented. and We have very good parameter extraction / decoding.

@badnikhil badnikhil marked this pull request as ready for review April 17, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants