File tree 1 file changed +2
-13
lines changed
1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -1720,21 +1720,10 @@ A collection of all the standard HTTP response status codes, and the
1720
1720
short description of each. For example, `http.STATUS_CODES[ 404] === 'Not
1721
1721
Found'`.
1722
1722
1723
- ## http.createServer([ options ] [ , requestListener] )
1723
+ ## http.createServer([ requestListener] )
1724
1724
<!-- YAML
1725
1725
added: v0.1.13
1726
- changes:
1727
- - version: v8.12.0
1728
- pr-url: https://github.com/nodejs/node/pull/15752
1729
- description: The `options` argument is supported now.
1730
- -->
1731
- - ` options ` {Object}
1732
- * ` IncomingMessage ` {http.IncomingMessage} Specifies the IncomingMessage class
1733
- to be used. Useful for extending the original ` IncomingMessage ` .
1734
- ** Default:** ` IncomingMessage ` .
1735
- * ` ServerResponse ` {http.ServerResponse} Specifies the ServerResponse class to
1736
- be used. Useful for extending the original ` ServerResponse ` . ** Default:**
1737
- ` ServerResponse ` .
1726
+ -->
1738
1727
- ` requestListener ` {Function}
1739
1728
1740
1729
* Returns: {http.Server}
You can’t perform that action at this time.
0 commit comments