From dd6d8b3d1f7526e4e7d6b5ac05689092cae2550d Mon Sep 17 00:00:00 2001 From: Leynos Date: Sat, 14 Jun 2025 02:32:41 +0100 Subject: [PATCH] Refine roadmap wording --- docs/roadmap.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/roadmap.md b/docs/roadmap.md index 02b3c422..5c6fd1ed 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -55,6 +55,16 @@ after formatting. Line numbers below refer to that file. } ``` +- [ ] Add connection preamble support. + Provide built-in parsing of a handshake preamble (e.g., Hotline's "TRTP") + and invoke a user-configured handler on success or failure. +- [ ] Add response serialization and transmission. + Encode handler responses using the selected serialization format and write + them back through the framing layer. +- [ ] Add connection lifecycle hooks. + Integrate setup and teardown stages, so sessions can hold state (such as a + logged-in user ID) across messages. + ## 2. Middleware and Extractors - [ ] Develop a minimal middleware system and extractor traits for payloads, @@ -94,6 +104,10 @@ after formatting. Line numbers below refer to that file. - [ ] Create a CLI for protocol scaffolding and testing (lines 1424-1429). - [ ] Improve debugging support and expand documentation (lines 1430-1435). +- [ ] Provide testing utilities for handlers. + Offer simple ways to drive handlers with raw frames for unit tests. + Early examples live in [`tests/server.rs`](../tests/server.rs); future + helpers may reside in a `wireframe-testing` crate. ## 6. Community Engagement and Integration