tidwall/SwiftWebSocket
Fast Websockets in Swift for iOS and OSX observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
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: n/a
- age_days: 4117
- days_rel: n/a
- days_push: 1840
- n_releases_24m: 0
Adoption not part of the score
1547 stars · 242 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SwiftWebSocket is a high-performance WebSocket client library for iOS and macOS, fully conforming to RFC 6455 and passing all 521 Autobahn fuzzing tests. It provides a JavaScript-style event API with TLS/WSS support, custom headers, ping/pong events, and permessage-deflate compression.
Use cases
- add websocket connectivity to an ios app in swift
- connect to a websocket server from a macos application
- swift websocket client with tls wss support
- receive compressed websocket messages permessage-deflate in swift
- send and receive binary websocket messages in swift
- reuse and reopen websocket connections in an ios app
- set custom http headers on websocket handshake requests
When to choose
- building native iOS or macOS apps in Swift or Objective-C that need a standards-compliant WebSocket client
- you want a lightweight, dependency-free client with proven protocol correctness via Autobahn test conformance
- you need TLS/WSS, self-signed certificate options, or message compression out of the box
When to avoid
- you need a WebSocket server implementation rather than a client
- your project targets platforms outside Apple's ecosystem, such as Android, Linux, or Windows
- you require actively maintained dependencies with recent releases, since the maintainer is seeking a successor and the last release was in 2021
- Apple's built-in URLSessionWebSocketTask is sufficient for your use case and you prefer first-party APIs
Facets
library · maturity maintenance
websocket networking mobile-development web-development websocket-client rfc-6455 tls wss permessage-deflate compression autobahn-tested event-driven-api apple-platforms swift ios macos
1 source
- readme: https://github.com/tidwall/SwiftWebSocket · fetched 2026-08-28 · c208a208e01d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tidwall/SwiftWebSocket | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="tidwall/SwiftWebSocket")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem