AFHTTPSessionManager-AFUniqueGET for iOS

Your GET request is in progress, then you make a new one asking for the same resource, better reuse it than creating a new one, right?

This category adds the uniqueGET method to AFHTTPSessionManager, which is useful if you want to avoid making multiple calls at the same resource if the operation is still in progress. A common request between AFNetworking users.

We achieve this by checking ongoing operations before creating new ones.

Sponsored with ❤️ by Instabug
Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.