Common Network Utilities

Learn about the common utility functions that prove handy during network calls.

Armed with a solid understanding of what APIs are and how we can optimize our interactions with them, we are in a reliable place to start making HTTP calls to resolve our dependencies. Let’s make two final additions to our arsenal to get complete control and insights into our network calls.

Canceling with context

Following the trend of ensuring we get fine-grained control over how long we spend on a single API interaction, let’s see if we can actively cancel or abort a network call proactively based on our logic.

Get hands-on with 1400+ tech skills courses.