Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

laziness #61

Closed
proppy opened this issue Feb 4, 2016 · 1 comment
Closed

laziness #61

proppy opened this issue Feb 4, 2016 · 1 comment

Comments

@proppy
Copy link
Contributor

proppy commented Feb 4, 2016

The library should give a way to construct Firebase call independently from executing them.

That could enable:

  • keeping static const version of repeated request.
  • fine grained control over HttpClient instance used to execute request.
  • overload for testing, portability and debugging

That could be done by adding FirebaseCall::execute(HttpClient&) and having the default constructor call it directly to preserve the easy Firebase.push/get/* flow, while still allowing user to call it manually when constructing FirebasPush/FirebaseGet/* object manually with two step initialization (see #58)

@proppy proppy changed the title Laziness laziness Feb 4, 2016
@proppy
Copy link
Contributor Author

proppy commented Apr 29, 2016

This should be provider by the underlying API (not the arduino wrapper), see #70

@proppy proppy closed this as completed Apr 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant