mirror of
https://github.com/nodejs/node.git
synced 2026-11-15 10:36:53 -05:00
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:
1 parent
adc0206de9
commit
6a6782343c
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user