Skip to content

[FEATURE] Stream Prioritization for HTTP2 #104

Description

@gimlet2

Feature Description

Support stream prioritization using weights and dependency tree as defined in HTTP2.

Problem/Use Case

Allows clients to specify which streams are more important, optimizing resource usage and response times.

Proposed Solution

  • Implement PRIORITY frames
  • Support weight and dependency assignment for streams
  • Make prioritization advisory but respected when possible

Code Example

server.setStreamPriority(streamId = 1, weight = 220, dependsOn = 3)

Alternatives Considered

  • No prioritization; FIFO processing

Additional Context

  • Would this be a breaking change? No
  • Priority: Medium
  • Related to HTTP2 support #3 HTTP2 support

Related Issues/PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions