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