Commit Graph

11 Commits

Author SHA1 Message Date
Tom Coleman
cc4f43bdad Threw down some references to the guide 2016-03-16 14:59:58 +11:00
Brian Engelhardt
c80c741493 Create noRetry option on Connection.apply
Closes #6108
Pull request #6180

Test is included, as is updated documentation.
All tests in ddp-client package (including new test for #6108) pass.

Implemented as simply a noRetry flag on apply which triggers it to fail with a
Meteor.Error('invocation-failed') instead of retrying on reconnect.

Test passes, methods which are marked as noRetry get an error in case of reset,
only if they've sent at least once, and this happens before messageSent flag is
cleared.  This results in it getting it's callback as soon as quiescence
triggers, and the callback is called with an Error 'invocation-failed'.

[stubailo: changed error code, fixed docs, squashed commits]
2016-02-09 15:27:26 -08:00
Sheel Patel
a28aa7f95c Fixed incorrect property name in documentation 2016-01-07 22:43:52 -08:00
Anubhav Jain
6a525fbea7 Updated DDPRateLimiter structure per Avi's suggestions and modified tests.
Updated documentation and default rate limit as well.
2015-07-22 09:52:10 -07:00
Anubhav Jain
759b9a2c19 Updating docs 2015-07-22 09:52:09 -07:00
Anubhav Jain
4cc907f7e4 Updating docs and fixing code review comments. 2015-07-22 09:52:09 -07:00
Anubhav Jain
9f9638e3a8 Added DDPRateLimiter to API docs 2015-07-22 09:52:08 -07:00
David Glasser
342a234e85 jsdoc update; fix api boxes broken by #4191 2015-04-29 00:17:01 -07:00
David Glasser
880661ee8c Document that Meteor.method calls are additive
Fixes #3177. Fixes #3234.
2015-01-12 11:21:55 -08:00
Ben Weissmann
7358c61476 Document possibility of repeat calls to a method
On re-connect, clients re-try methods that haven't received a response, which means that methods might be called multiple times. This is important to document so users know to guard against this behavior if a method has dangerous side-effects.

See issue #2407.
2014-12-03 15:13:27 -08:00
Sashko Stubailo
c41269161b Fixed links on full docs 2014-10-28 02:28:35 -07:00