apple/swift-http-types
Version-independent HTTP currency types for Swift observed · 2026-09-01
Health v2 · maintenance only
87/100
- Activity 100
- Release rhythm 63
- Longevity 98
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 169.0
- age_days: 1385
- days_rel: 89
- days_push: 2
- n_releases_24m: 5
Adoption not part of the score
1033 stars · 79 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Swift HTTP Types is an Apple-maintained Swift library providing version-independent HTTP request, response, and header field types usable by both clients and servers. It includes Foundation conveniences for URLSession and URL conversion, plus SwiftNIO channel handlers for HTTP/1 and HTTP/2 integration.
Use cases
- represent http requests and responses in swift
- share http types between client and server code
- use modern http types with urlsession
- bridge swift-nio http1 and http2 to common types
- manage http header fields in swift
When to choose
- you build Swift HTTP clients or servers and want version-independent types
- you need a common HTTP abstraction across URLSession and SwiftNIO
- you want Apple-supported, modern HTTP primitives for Swift
When to avoid
- you work outside the Swift ecosystem
- you need a full HTTP client or server implementation rather than types
- your project already standardizes on Foundation URL types exclusively
Facets
library · maturity active
http-client http-server sdk web-development backend developer-tools apis cross-platform http-types swift-nio urlsession apple http-headers foundation swift macos linux ios
1 source
- readme: https://github.com/apple/swift-http-types · fetched 2026-09-01 · b745d02ae57f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apple/swift-http-types | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="apple/swift-http-types")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem