Skip to content

createPushResponse() callback needs better documentation #22322

Closed
@arei

Description

  • Version: 10.8.0
  • Platform: docs
  • Subsystem: http2

http2: documentation for createPushResponse() in Http2ServerResponse should spell out what its callback returns more clearly. My interpretation was that it would return similar to ServerHttp2Stream.pushResponse() but it does not. In specific, headers are not passed to the callback of createPushResponse().

callback(null, new Http2ServerResponse(stream));

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.http2Issues or PRs related to the http2 subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions