google / streamy-dart

Apache License 2.0
60 stars 23 forks source link

Allow request caching to be overridden #266

Open andyjpeck opened 10 years ago

andyjpeck commented 10 years ago

Allow request caching to be overridden by the user. This makes it possible to disable caching when making 'GET' requests.

This resolves: https://github.com/google/streamy-dart/issues/75

yjbanov commented 10 years ago

This makes the Request class aware of caching, which we consider an orthogonal concept. There are existing alternatives to what you are trying to achieve:

api.foos.get(123).send(cacheable: false).listen(...);