Skip to content

Commit f2fa2d3

Browse files
SequoiaMyles Borins
authored and
Myles Borins
committed
doc: label http.IncomingMessage as a Class
`Server`, `ServerResponse` etc. were marked as classes, this one class was overlooked. PR-URL: #4589 Fixes: #4576 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 596a80f commit f2fa2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ should be used to determine the number of bytes in a given encoding.
781781
And Node.js does not check whether Content-Length and the length of the body
782782
which has been transmitted are equal or not.
783783

784-
## http.IncomingMessage
784+
## Class: http.IncomingMessage
785785

786786
An `IncomingMessage` object is created by [`http.Server`][] or
787787
[`http.ClientRequest`][] and passed as the first argument to the `'request'`

0 commit comments

Comments
 (0)