aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Karneges <justin@affinix.com>2014-05-09 08:54:37 -0700
committerJustin Karneges <justin@affinix.com>2014-05-09 08:54:37 -0700
commitff8e938287cdb2599c66096d7aaf2fa002fbf0e8 (patch)
tree2f3bcf827501ee61896c25f9d254fa8dadfddb5c
parent17a1b695340ecc03426fab1022d520bfb5793aa6 (diff)
downloadpollymer-ff8e938287cdb2599c66096d7aaf2fa002fbf0e8.tar
pollymer-ff8e938287cdb2599c66096d7aaf2fa002fbf0e8.tar.gz
nit
-rw-r--r--README.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6d76862..3a60457 100644
--- a/README.md
+++ b/README.md
@@ -67,9 +67,7 @@ Methods of Request Object
+ url: string url, or function that returns a string url if called
+ headers: hash of key/value strings (optional)
+ body: string body data (optional)
-
+ Sometime after the request has been started, a finished or error event will be raised and the object will return to inactive state (unless the recurring flag is set, see below).
-
+ The start method may be called again once the request has completed (unless the recurring flag is set, see below). If called again on the same object, a short random delay will be added before performing the request.
* retry() - Attempt the exact same request again. Normally, Pollymer will automatically retry a request that it considers to be a failure, but this method may be used if the application needs to retry the request for any another reason. Retries have an exponentially increasing delay between them. Do not use retry() if the previous request attempt was considered to be successful, as it will add penalizing delays that you probably don't want in that case.