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:
parent
adc0206de9
commit
6a6782343c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user