refactor(core): unify HTTP protocol package boundaries

This commit is contained in:
Zakaria El Orche
2026-08-13 16:24:23 +00:00
parent d882ea255c
commit 885c450f6b
107 changed files with 122 additions and 484 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# The Frame Layer (Phase 5)
Audience: contributors. This is the design record for `dev.relism.flash.h2.frame`'s frame
Audience: contributors. This is the design record for `dev.relism.flash.http2.frame`'s frame
reading, validation, and writing — the 9-byte header and payload boundary, with no connection
semantics, no streams, and no HPACK above it.
@@ -32,7 +32,7 @@ out of `streamId()` once, so no caller has to remember to.
## Package layout
```
dev.relism.flash.h2.frame
dev.relism.flash.http2.frame
├── FrameType the 10 known types + per-type validation descriptor (min/max length, stream-id rule)
├── FrameFlags END_STREAM/ACK/END_HEADERS/PADDED/PRIORITY bit constants + predicates
├── FrameHeader flyweight over a read buffer: length/type/flags/streamId/payloadOffset