@zenangst @RamonGilabert @onmyway133
💥 Request storage is migrated from https://github.com/hyperoslo/Offline. But it's not just a copy. It adopted to Malibu types and works with promises.
Want to store request to NSUserDefaults when there is no network connection to replay it later?
networking.replay().done({ result
print(result)
})
Request storage is networking-specific, and while it replays cached request it will be set to Sync mode. Cached request will go through normal request lifecycle in Malibu, with applied middleware and pre-process operations.
@zenangst @RamonGilabert @onmyway133 💥 Request storage is migrated from https://github.com/hyperoslo/Offline. But it's not just a copy. It adopted to Malibu types and works with promises.
NSUserDefaults
when there is no network connection to replay it later?Request storage is networking-specific, and while it replays cached request it will be set to
Sync
mode. Cached request will go through normal request lifecycle inMalibu
, with applied middleware and pre-process operations.