# afnetworking/afnetworking

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/afnetworking-afnetworking).**

33,433 stars · 10,605 forks · Objective-C · MIT · archived

## Links

- GitHub: https://github.com/AFNetworking/AFNetworking
- Homepage: http://afnetworking.com
- awesome-repositories: https://awesome-repositories.com/repository/afnetworking-afnetworking.md

## Description

AFNetworking is an Objective-C networking library for Apple platforms, including iOS, macOS, watchOS, and tvOS. It functions as an HTTP client that manages remote server communication by wrapping the system loading framework to handle requests and responses.

The library provides specialized security and identity tools, featuring SSL certificate pinning for server trust validation and the implementation of standardized OAuth authentication flows. It further distinguishes itself with network reachability monitoring to track interface availability and request mocking capabilities to simulate server responses for testing.

The framework covers a broad range of networking capabilities, including REST API integration, modular data serialization, and network response caching. It manages the full lifecycle of upload and download tasks, utilizing a delegate-based system for event handling.

## Tags

### Web Development

- [HTTP Client Requests](https://awesome-repositories.com/f/web-development/http-client-requests.md) — Provides the core capability of sending HTTP requests and receiving responses for Apple platform applications. ([source](https://github.com/afnetworking/afnetworking#readme))
- [Networking Libraries](https://awesome-repositories.com/f/web-development/networking-libraries.md) — Provides foundational networking capabilities for executing and managing HTTP requests in Objective-C.
- [Request Parameter Serialization](https://awesome-repositories.com/f/web-development/request-parameter-serialization.md) — Encodes structured data into query strings or JSON payloads for server transmission. ([source](https://github.com/afnetworking/afnetworking#readme))

### Mobile Development

- [Apple Platform Networking](https://awesome-repositories.com/f/mobile-development/apple-platform-networking.md) — Provides unified HTTP request and data transfer management across all Apple operating systems.
- [REST API Integration Frameworks](https://awesome-repositories.com/f/mobile-development/rest-api-integration-frameworks.md) — Simplifies RESTful service integration by converting JSON or query parameters into usable application objects.

### Networking & Communication

- [HTTP Clients](https://awesome-repositories.com/f/networking-communication/http-clients.md) — Functions as a comprehensive HTTP client for executing network requests and managing remote service connectivity.

### Software Engineering & Architecture

- [HTTP Request Callbacks](https://awesome-repositories.com/f/software-engineering-architecture/callback-driven-request-handling/http-request-callbacks.md) — Handles the asynchronous lifecycle of HTTP requests using a system of success, error, and cancellation callbacks.
- [Serialization Pipelines](https://awesome-repositories.com/f/software-engineering-architecture/serialization-pipelines.md) — Provides a modular pipeline for transforming high-level data objects into wire-format bytes and back.

### Security & Cryptography

- [Certificate Pinning](https://awesome-repositories.com/f/security-cryptography/certificate-pinning.md) — Secures communications by restricting trusted certificates to prevent man-in-the-middle attacks.
- [Certificate Trust Validation](https://awesome-repositories.com/f/security-cryptography/identity-servers/certificate-trust-validation.md) — Validates server identities by comparing remote certificates against a local set of trusted public keys.
- [OAuth Authentication](https://awesome-repositories.com/f/security-cryptography/oauth-authentication.md) — Secures requests and manages user identity using standard OAuth 2.0 token flows.
- [OAuth Flow Implementations](https://awesome-repositories.com/f/security-cryptography/oauth-authentication/oauth-token-retrievals/oauth-flow-implementations.md) — Implements standardized OAuth 2.0 flows for secure user authorization and identity retrieval. ([source](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-FAQ))

### System Administration & Monitoring

- [Network Monitoring Tools](https://awesome-repositories.com/f/system-administration-monitoring/network-monitoring-tools.md) — Tracks the availability of network interfaces and domains in real-time to manage connectivity. ([source](https://github.com/afnetworking/afnetworking#readme))
- [Network Interface Reachability](https://awesome-repositories.com/f/system-administration-monitoring/performance-monitoring/reachability-trackers/network-interface-reachability.md) — Tracks network state changes to determine current internet connectivity for request retries and user notifications.

### Testing & Quality Assurance

- [API Request Mocking](https://awesome-repositories.com/f/testing-quality-assurance/general-testing-utilities/test-utilities-assertions/network-api-mocking/api-request-mocking.md) — Intercepts outgoing network traffic to simulate server responses for comprehensive application testing.

### Part of an Awesome List

- [Networking Libraries](https://awesome-repositories.com/f/awesome-lists/data/networking-libraries.md) — The standard library for network requests and API interaction.
- [Networking Libraries](https://awesome-repositories.com/f/awesome-lists/devtools/networking-libraries.md) — Standard networking request framework for iOS/OSX.
