Skip to content

Commit

Permalink
doc: label http.IncomingMessage as a Class
Browse files Browse the repository at this point in the history
`Server`, `ServerResponse` etc. were marked as classes, this one class
was overlooked.

PR-URL: #4589
Fixes: #4576
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
Sequoia authored and Myles Borins committed Jan 12, 2016
1 parent b181e26 commit fdfc72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.markdown
Expand Up @@ -783,7 +783,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'`
Expand Down

0 comments on commit fdfc72c

Please sign in to comment.