About this project

SocketRocket is a WebSocket client library for Apple platforms (iOS, macOS, tvOS, and visionOS) that conforms to RFC 6455. It passes nearly all of Autobahn's fuzzing tests, with only two UTF-8 non-strict exceptions. Key features include TLS (wss) support with self-signed certificates, HTTP proxy support, IPv4/IPv6, SSL certificate pinning, and asynchronous non-blocking operation. The library provides a simple `SRWebSocket` class with delegate methods for open, message (string/data), error, and close events. Installation is supported via CocoaPods, Carthage, or as a subproject. It includes a test suite and a demo chat application with Python and Go server implementations. The project is maintained by Facebook and is BSD-licensed.