# facebookincubator/SocketRocket

A conforming Objective-C WebSocket client library.

Repository: https://github.com/facebookincubator/SocketRocket
Canonical: https://ross.abutalabs.com/products/socketrocket
Language: Objective-C
License: NOASSERTION
License Family: other
Last push: 2025-12-04T01:29:19+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 5330, "days_push": 273, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9609, forks 2004 (observed 2026-08-28T04:10:36.249490+00:00)

## What it is
SocketRocket is a conforming WebSocket (RFC 6455) client library written in Objective-C for Apple platforms including iOS, macOS, tvOS, and visionOS. It supports TLS/wss, SSL certificate pinning, HTTP proxies, IPv4/IPv6, and ping/pong, with asynchronous non-blocking operation on background threads.

## Use cases
- add real-time websocket communication to an iOS app
- connect to a websocket server from macOS in Objective-C
- websocket client with SSL certificate pinning on Apple platforms
- conformant RFC 6455 websocket client for tvOS
- send and receive text and binary messages over websockets in Swift or Objective-C
- websocket client that works through HTTP proxies

## When to choose
- you need a battle-tested, Autobahn-conformant WebSocket client on iOS, macOS, tvOS, or visionOS
- you need TLS, self-signed certificates, or SSL pinning support
- you want an Objective-C library easily usable from Swift via CocoaPods or Carthage

## When to avoid
- you are targeting non-Apple platforms
- you prefer a modern Swift-native WebSocket client
- you need a WebSocket server rather than a client

## Facets
- artifact type: library
- maturity: stable
- function: websocket, http-client, networking
- domain: web-development, developer-tools
- platform: cross-platform, cpp
- tags: objective-c, websocket-client, rfc6455, tls, ssl-pinning, apple-platforms, cocoapods, real-time, ios, macos

## Member repositories
- facebookincubator/SocketRocket (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:36.249490+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-29T17:21:52.753998+00:00, confidence not recorded.
  - readme: https://github.com/facebookincubator/SocketRocket (fetched 2026-08-28T04:10:36.249490+00:00, sha 91434f62229e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
