NetworkHelper
Utility interface for making basic async network requests. For more complex requirements, use the NetworkClient instead.
Types
Data class for holding a generic value along with the HttpResponse
Functions
Asynchronously fetches the given url and returns the payload parsed as a DataObject An optional etag can be supplied if the resource being requested is already available on the device and may be able to be re-used.
Asynchronously fetches the given url and returns the payload parsed as a String and then converted to an instance of T using by the given deserializer.
Asynchronously fetches the given url and returns the payload parsed as a JSONObject An optional etag can be supplied if the resource being requested is already available on the device and may be able to be re-used.