From 6a6782343cdcb9ccab413509f2fa33c5508df12a Mon Sep 17 00:00:00 2001 From: MK Safi Date: Thu, 15 Aug 2013 02:15:49 +0300 Subject: [PATCH] doc: clarify return value of http.createServer PR-URL: https://github.com/joyent/node/pull/6054 Reviewed-by: Isaac Z. Schlueter Reviewed-by: Chris Dickinson --- doc/api/http.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 8b32cf59f4b..709508fe75f 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -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.