Browse Source

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

v0.7.4-release
koichik 14 years ago
committed by Ryan Dahl
parent
commit
ca028f4b37
  1. 9
      doc/api/http.markdown

9
doc/api/http.markdown

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

Loading…
Cancel
Save