diff --git a/doc/api/http.md b/doc/api/http.md index 2a74dce019eb68..391a2bf4232f7a 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]) -- `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}