Here's what I want in a networking layer: Should be easy to switch between different hosts and API versions while keeping all the endpoints the sameShould be possible to separate the logic for setting up a network call and firing itShould be easy to mock server responsesShould be easy to separate concerns when handling responsesShould… Continue reading What makes a good network layer
Month: July 2020
Slippers: a library for paging, refreshing, and JSON
Slippers is not a networking library. It won't make server calls for you (I have other libraries for networking). What it will do, however, is make it easy for you to trigger network calls when you need to. It does this by providing some protocols and simple implementations thereof to control common network tasks like… Continue reading Slippers: a library for paging, refreshing, and JSON