We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea50ebd commit 491c8d9Copy full SHA for 491c8d9
1 file changed
doc/api/http.markdown
@@ -32,6 +32,12 @@ Returns a new web server object.
32
The `requestListener` is a function which is automatically
33
added to the `'request'` event.
34
35
+## http.createClient([port], [host])
36
+
37
+This function is **deprecated**; please use
38
+[http.request()](#http_http_request_options_callback) instead. Constructs a new
39
+HTTP client. `port` and `host` refer to the server to be connected to.
40
41
## Class: http.Server
42
43
This is an `EventEmitter` with the following events:
0 commit comments