doc: clarify return value of http.createServer

PR-URL: https://github.com/joyent/node/pull/6054
Reviewed-by: Isaac Z. Schlueter <i@izs.me>
Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
This commit is contained in:
MK Safi 2013-08-15 02:15:49 +03:00 committed by Chris Dickinson
parent adc0206de9
commit 6a6782343c

View File

@ -59,7 +59,7 @@ Found'`.
## http.createServer([requestListener])
Returns a new web server object.
Returns a new instance of [http.Server](#http_class_http_server).
The `requestListener` is a function which is automatically
added to the `'request'` event.