File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 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
17201720short description of each. For example, `http.STATUS_CODES[ 404] === 'Not
17211721Found'`.
17221722
1723- ## http.createServer([ options ] [ , requestListener] )
1723+ ## http.createServer([ requestListener] )
17241724<!-- YAML
17251725added: 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+ -->
17381727- ` requestListener ` {Function}
17391728
17401729* Returns: {http.Server}
You can’t perform that action at this time.
0 commit comments