feat(app): add Flutter websocket transport

This commit is contained in:
2026-10-21 13:24:11 +01:00
parent 718442d73d
commit c262f77501
5 changed files with 344 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# F1 transport
`PipelinesClient` implements the shared `ApiGateway` contract using one
`web_socket_channel` connection, correlated JSON replies, timeout handling,
unsolicited envelope broadcast, and reconnect with capped exponential backoff.
The URL helper validates ws/wss endpoints and resolves artifact URLs.
Manager integration import: `package:pipelines_app/core/transport/pipelines_client.dart`;
endpoint helper: `package:pipelines_app/core/transport/server_url.dart`.
The client accepts an injected `ChannelFactory` for deterministic tests. No live
server was used. Browser and mobile target verification should be reported
separately from these unit tests.