Fix docs: There were 2 descriptions of 'request' event.

This commit is contained in:
koichik 2011-03-30 22:06:41 +09:00 committed by Ryan Dahl
parent d953856d87
commit ca028f4b37

View 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) {}`