-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.

Description
- Version: 0.10.36
- Platform: Mac OS X
- Subsystem: http
While it's possible to say incomingMessage instanceof stream.Readable
, it's not possible to say serverResponse instanceof stream.Writable
, where incomingMessage
is an instance of IncomingMessage
and serverResponse
is an instance of ServerResponse
.
The documentation claims:
Class: http.ServerResponse#
...
The response implements the Writable Stream interface.
This is not accurate, since it just inherits from Stream
, not Stream.Writable
.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.