# 3lvis/Networking

Swift HTTP Networking with stubbing and caching support

Repository: https://github.com/3lvis/Networking
Canonical: https://ross.abutalabs.com/products/networking
Language: Swift
License: MIT
License Family: permissive
Topics: swift, mocking, nsurlsession, networking, alamofire, moya, stubbing, carthage, cocoapods
Last push: 2026-06-20T05:18:23+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 88, release rhythm 57, longevity 100
- inputs: {"age_days": 4210, "days_push": 74, "days_rel": 76, "gap_med": 306.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1378, forks 111 (observed 2026-08-28T04:04:33.629222+00:00)

## What it is
Networking is a Swift HTTP networking library built on URLSession with a simple, singleton-free API. It offers built-in request stubbing/mocking, flexible caching, image downloading, and multiple body encoding options.

## Use cases
- make http requests in an ios app with swift
- stub or fake network responses for testing
- download and cache images from urls
- send  or multipart request bodies
- handle http basic and bearer token authentication
- cancel in-flight network requests
- replace alamofire with a dependency-free networking layer

## When to choose
- you want a lightweight Swift HTTP client with no external dependencies
- you need easy request stubbing for unit tests
- you want built-in image downloading and caching
- you prefer a singleton-free, minimal API over Alamofire or Moya

## When to avoid
- you need advanced features like request interceptors or reactive extensions
- your project is not in Swift or targets non-Apple platforms
- you already have a large Alamofire/Moya-based codebase with plugins

## Facets
- artifact type: library
- maturity: active
- function: http-client, caching, mocking
- domain: networking, mobile-development, developer-tools, testing
- platform: cross-platform
- tags: urlsession, stubbing, swift-package, cocoapods, carthage, image-downloading, alamofire-alternative, swift, ios, macos, mobile

## Member repositories
- 3lvis/Networking (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.629222+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:20.161761+00:00, confidence not recorded.
  - readme: https://github.com/3lvis/Networking (fetched 2026-08-28T04:04:33.629222+00:00, sha 0b6a0d4c6e93)
- Data as of 2026-08-30T08:39:29.467469+00:00.
