From 2cc7fa5e7dabdf10bf26efc4ab8dbffd36dba23e Mon Sep 17 00:00:00 2001 From: Brian White Date: Sun, 14 Aug 2016 18:25:21 -0400 Subject: [PATCH] http: remove deprecated Client interface PR-URL: https://github.com/nodejs/node/pull/8104 Reviewed-By: James M Snell Reviewed-By: Ben Noordhuis Reviewed-By: Colin Ihrig --- doc/api/http.md | 11 --- lib/http.js | 86 +++--------------------- test/parallel/test-http-client-race-2.js | 14 +--- test/parallel/test-http-legacy.js | 70 ------------------- 4 files changed, 13 insertions(+), 168 deletions(-) delete mode 100644 test/parallel/test-http-legacy.js diff --git a/doc/api/http.md b/doc/api/http.md index d8d4ef03f4..7ddf2c4816 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1336,17 +1336,6 @@ 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.createClient([port][, host]) - - -> Stability: 0 - Deprecated: Use [`http.request()`][] instead. - -Constructs a new HTTP client. `port` and `host` refer to the server to be -connected to. - ## http.createServer([requestListener])