Skip to content

Conversation

yg-i
Copy link

@yg-i yg-i commented Jun 25, 2025

From @types/node:

image

Also note that http.IncomingMessage on the same page is correctly said to extend from stream.Readable (https://nodejs.org/api/http.html#class-httpincomingmessage)

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem. labels Jun 25, 2025
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is incorrect.

It quacks like a stream.Writable, but it does not. If you check the source, you can clearly see that it does not inherit from stream.Writable (but it should behave like one).

@yg-i yg-i closed this Jun 26, 2025
@yg-i yg-i deleted the patch-1 branch June 26, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants