Created
May 28, 2010 21:05
-
-
Save graphnode/417758 to your computer and use it in GitHub Desktop.
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 33be51d21fdb9fbb5d5d986663a12d7f44415408 Mon Sep 17 00:00:00 2001 | |
From: Diogo Gomes <maushu@graphnode.com> | |
Date: Fri, 28 May 2010 21:01:45 +0000 | |
Subject: [PATCH] fixed th docs | |
--- | |
doc/api.markdown | 6 ++++++ | |
1 files changed, 6 insertions(+), 0 deletions(-) | |
diff --git a/doc/api.markdown b/doc/api.markdown | |
index 6100fd9..e363946 100644 | |
--- a/doc/api.markdown | |
+++ b/doc/api.markdown | |
@@ -2008,6 +2008,12 @@ Emitted when a piece of the message body is received. | |
body chunk a String. The body encoding is set with | |
`response.setBodyEncoding()`. | |
+### Event: 'error' | |
+ | |
+`function (exception) { }` | |
+ | |
+Emitted if there was an error receiving data. | |
+ | |
### Event: 'end' | |
`function () {}` | |
-- | |
1.7.0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment