Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

doc: add deprecated function http.createClient()

Appears in a lot of old code and core tests. Documented to show it
is deprecated.

Closes #1613.
  • Loading branch information...
shama authored and bnoordhuis committed Apr 23, 2012
1 parent ea50ebd commit 491c8d92b857eea32c4f209cb1563169ef0b70ec
Showing with 6 additions and 0 deletions.
  1. +6 −0 doc/api/http.markdown
@@ -32,6 +32,12 @@ Returns a new web server object.
The `requestListener` is a function which is automatically
added to the `'request'` event.

## http.createClient([port], [host])

This function is **deprecated**; please use
[http.request()](#http_http_request_options_callback) instead. Constructs a new
HTTP client. `port` and `host` refer to the server to be connected to.

## Class: http.Server

This is an `EventEmitter` with the following events:

0 comments on commit 491c8d9

Please sign in to comment.
You can’t perform that action at this time.