Created
March 30, 2011 13:25
-
-
Save koichik/894379 to your computer and use it in GitHub Desktop.
Fix docs: There were 2 descriptions of 'request' event.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 8b723df5ebd49a79a622355a039ad3b34811c692 Mon Sep 17 00:00:00 2001 | |
From: koichik <koichik@improvement.jp> | |
Date: Wed, 30 Mar 2011 22:06:41 +0900 | |
Subject: [PATCH] Fix docs: There were 2 descriptions of 'request' event. | |
--- | |
doc/api/http.markdown | 9 ++------- | |
1 files changed, 2 insertions(+), 7 deletions(-) | |
diff --git a/doc/api/http.markdown b/doc/api/http.markdown | |
index cf1bd5d..10a0f9d 100644 | |
--- a/doc/api/http.markdown | |
+++ b/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) {}` | |
-- | |
1.7.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment