igot_http_service 0.0.1 copy "igot_http_service: ^0.0.1" to clipboard
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.

1
likes
20
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

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 with DATA Base support with respect to given TTL.

Homepage

License

unknown (license)

Dependencies

encrypt, flutter, http, path, sqflite

More

Packages that depend on igot_http_service