SocketRocket

SocketRocket is a conforming WebSocket (RFC 6455) client library for iOS, macOS, and tvOS.

It is an Objective-C library designed to be fast, compliant, and easy to use. SocketRocket performs most of its work on a background thread, ensuring your UI remains responsive during network operations.

Key Features

  • Standard Compliant: Conforms to RFC 6455.
  • TLS/WSS Support: Full support for secure WebSockets (wss://), including self-signed certificates.
  • Performance: Asynchronous and non-blocking I/O. Uses background threads for processing.
  • Proxy Support: HTTP Proxy support.
  • IPv4 & IPv6: Fully supports modern networking stacks.
  • Testing: Passed all core ~300 Autobahn fuzzing tests.

Compatibility

  • iOS: 11.0+
  • macOS: 10.13+
  • tvOS: 11.0+
  • visionOS: 1.0+

License

SocketRocket is licensed under the BSD License. See the License page for details.