Open
Description
http OutgoingMessage
is missing some methods, properties and behaviours to make it "truly" "streamlike":
-
destroyed
-
writableLength
(http: OutgoingMessage stream properties #29018) -
writableHighWaterMark
(http: OutgoingMessage stream properties #29018) -
writableCorked
-
writableObjectMode
(http: OutgoingMessage stream properties #29018) -
cork()
(http: outgoing cork #29053) -
uncork()
(http: outgoing cork #29053) -
ERR_STREAM_DESTROYED
(http: align with stream.Writable #31818) -
instanceof Writable
(issue http: OutgoingMessage instanceof Writable #28971)
Furthermore the destroy event ordering does not seem to be fully consistent with the stream implementation (needs further investigation).