Fix docs: There were 2 descriptions of 'request' event.
This commit is contained in:
parent
d953856d87
commit
ca028f4b37
@ -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…
x
Reference in New Issue
Block a user