# swift-server/async-http-client

HTTP client library built on SwiftNIO

Repository: https://github.com/swift-server/async-http-client
Canonical: https://ross.abutalabs.com/products/swift-server-async-http-client
Homepage: https://swiftpackageindex.com/swift-server/async-http-client/main/documentation/asynchttpclient
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift-server, http-client, swift5, swift-nio
Last push: 2026-07-28T11:42:30+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 94, longevity 100
- inputs: {"age_days": 2715, "days_push": 36, "days_rel": 41, "gap_med": 14, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1074, forks 150 (observed 2026-08-28T04:03:29.002049+00:00)

## What it is
AsyncHTTPClient is an HTTP client library for Swift built on top of SwiftNIO. It provides asynchronous, non-blocking request APIs with first-class Swift Concurrency support, streaming bodies, TLS, and automatic HTTP/2.

## Use cases
- make http requests from a swift app
- async await http client for swift
- download response bodies as a stream
- call rest apis from a swift server
- http client with tls and http2 support
- follow redirects in swift

## When to choose
- you are building Swift applications or server-side Swift services that need HTTP requests
- you want non-blocking, high-performance networking on SwiftNIO
- you need Swift Concurrency async/await or EventLoopFuture APIs
- you need streaming downloads, TLS, or HTTP/2 over HTTPS

## When to avoid
- you need a full-featured HTTP client with cookie storage or caching out of the box
- your project is not in Swift
- you need a browser or high-level REST client abstraction rather than a low-level HTTP client

## Facets
- artifact type: library
- maturity: active
- function: http-client, concurrency, networking
- domain: web-development, backend, developer-tools
- platform: cross-platform
- tags: swiftnio, async-await, tls, http2, swift-package-manager, swift, linux, macos

## Member repositories
- swift-server/async-http-client (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.002049+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-30T06:53:33.515018+00:00, confidence not recorded.
  - readme: https://github.com/swift-server/async-http-client (fetched 2026-08-28T04:03:29.002049+00:00, sha eabe2f207939)
- Data as of 2026-08-30T08:39:29.467469+00:00.
