-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
Feature Description
Support multiplexing of multiple HTTP2 streams over a single TCP connection.
Problem/Use Case
Multiplexing is a core HTTP2 feature that allows concurrent streams, reducing latency and improving resource utilization.
Proposed Solution
- Implement stream identifiers and lifecycle management
- Enable interleaved frames for multiple streams
- Handle stream state transitions per RFC 7540
Code Example
server.openStream(streamId = 1)
server.openStream(streamId = 3)
server.sendFrameToStream(streamId = 1, ...)Alternatives Considered
- Sequential stream processing (HTTP/1.x model)
Additional Context
- Would this be a breaking change? Yes
- Priority: High
- Related to HTTP2 support #3 HTTP2 support
Related Issues/PRs
- HTTP2 support #3 HTTP2 support