igot_http_service 0.0.1
igot_http_service: ^0.0.1 copied to clipboard
This package contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform (mobile, desktop, and browser) and supports multiple implementations wi [...]
0.0.1 #
-
TODO: Describe initial release.
-
The SDK facilitates users in making API calls, encompassing the HTTP requests.
-
It empowers users to cache API responses, with the capability to set a TTL (time-to-live) for the cached data.
-
If the TTL duration hasn't elapsed, the SDK retrieves the data from the cache and returns it.
-
In the event that the TTL has expired, the SDK initiates a fresh API request, stores the updated data with the new TTL, and then returns the response.
-
If no TTL is provided by the user, the SDK automatically makes an API call and promptly returns the response.