Skip to content

Commit

Permalink
Update app-listen.md
Browse files Browse the repository at this point in the history
Added info on return value.
  • Loading branch information
Rand McKinney committed Jan 7, 2016
1 parent 8bebd35 commit caf6ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/api/en/4x/app-listen.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ http.createServer(app).listen(80);
https.createServer(options, app).listen(443);
~~~

The `app.listen()` method is a convenience method for the following (for HTTP only):
The `app.listen()` method returns an [http.Server](https://nodejs.org/api/http.html#http_class_http_server) object and (for HTTP) is a convenience method for the following:

~~~js
app.listen = function() {
Expand Down

0 comments on commit caf6ada

Please sign in to comment.