doc: label http.IncomingMessage as a Class
authorSequoia McDowell <sequoia.mcdowell@gmail.com>
Fri, 8 Jan 2016 18:22:23 +0000 (13:22 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:37 +0000 (11:52 -0800)
`Server`, `ServerResponse` etc. were marked as classes, this one class
was overlooked.

PR-URL: https://github.com/nodejs/node/pull/4589
Fixes: https://github.com/nodejs/node/issues/4576
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
doc/api/http.markdown

index f62b248..5540dc6 100644 (file)
@@ -781,7 +781,7 @@ should be used to determine the number of bytes in a given encoding.
 And Node.js does not check whether Content-Length and the length of the body
 which has been transmitted are equal or not.
 
-## http.IncomingMessage
+## Class: http.IncomingMessage
 
 An `IncomingMessage` object is created by [`http.Server`][] or
 [`http.ClientRequest`][] and passed as the first argument to the `'request'`