Fix docs: There were 2 descriptions of 'request' event.
authorkoichik <koichik@improvement.jp>
Wed, 30 Mar 2011 13:06:41 +0000 (22:06 +0900)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 12 Apr 2011 00:27:24 +0000 (17:27 -0700)
doc/api/http.markdown

index cf1bd5d..10a0f9d 100644 (file)
@@ -31,6 +31,8 @@ This is an `EventEmitter` with the following events:
 
 `function (request, response) { }`
 
+Emitted each time there is request. Note that there may be multiple requests
+per connection (in the case of keep-alive connections).
  `request` is an instance of `http.ServerRequest` and `response` is
  an instance of `http.ServerResponse`
 
@@ -48,13 +50,6 @@ This is an `EventEmitter` with the following events:
 
  Emitted when the server closes.
 
-### Event: 'request'
-
-`function (request, response) {}`
-
-Emitted each time there is request. Note that there may be multiple requests
-per connection (in the case of keep-alive connections).
-
 ### Event: 'checkContinue'
 
 `function (request, response) {}`