Skip to content

[FEATURE] Server Push Support for HTTP2 #102

Description

@gimlet2

Feature Description

Enable server push via PUSH_PROMISE frames in HTTP2.

Problem/Use Case

Server push allows proactively sending resources to clients, improving page load speed for web apps.

Proposed Solution

  • Implement PUSH_PROMISE frame handling
  • Allow configuration of resources eligible for push
  • Ensure clients can reject/cancel pushed streams

Code Example

server.pushPromise(streamId = 1, resource = "/style.css")

Alternatives Considered

  • No server push; client requests all resources

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