Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md15
1 files changed, 2 insertions, 13 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 2a74dce019e..391a2bf4232 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1720,21 +1720,10 @@ A collection of all the standard HTTP response status codes, and the
short description of each. For example, `http.STATUS_CODES[404] === 'Not
Found'`.
-## http.createServer([options][, requestListener])
+## http.createServer([requestListener])
<!-- YAML
added: v0.1.13
-changes:
- - version: v8.12.0
- pr-url: https://github.com/nodejs/node/pull/15752
- description: The `options` argument is supported now.
--->
-- `options` {Object}
- * `IncomingMessage` {http.IncomingMessage} Specifies the IncomingMessage class
- to be used. Useful for extending the original `IncomingMessage`.
- **Default:** `IncomingMessage`.
- * `ServerResponse` {http.ServerResponse} Specifies the ServerResponse class to
- be used. Useful for extending the original `ServerResponse`. **Default:**
- `ServerResponse`.
+-->
- `requestListener` {Function}
* Returns: {http.Server}