Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

http.createClient is undocumented in 0.4.11 docs #1613

Closed
abi opened this issue Aug 31, 2011 · 4 comments
Closed

http.createClient is undocumented in 0.4.11 docs #1613

abi opened this issue Aug 31, 2011 · 4 comments
Labels

Comments

@abi
Copy link

abi commented Aug 31, 2011

Is this intentional? If not, I can add docs.

@koichik
Copy link

koichik commented Aug 31, 2011

It may be intentional because it had been documented before (the API is a little different).
http://nodejs.org/docs/v0.3.5/api/http.html#http.createClient

But the patch welcome, I will merge it.

@OrangeDog
Copy link

That API is deprecated is it not? There are equally no docs for sys.puts, etc.

@bnoordhuis
Copy link
Member

Yes, 'http.createClient()` is deprecated. A documentation patch won't hurt since you still see it a lot in old code (even in node's test suite). It should explicitly mention that it's a deprecated function though.

shama added a commit to shama/node that referenced this issue Apr 23, 2012
Closes nodejs#1613
Appears in a lot of old code and core tests. Documented to show it
is deprecated.
@bnoordhuis
Copy link
Member

Documented in 491c8d9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants