A conforming WebSocket (RFC 6455) client library for iOS, macOS and tvOS. SocketRocket currently conforms to all core ~300 of Autobahn's fuzzing tests (aside from two UTF-8 ones where it is merely non-strict tests 6.4.2 and 6.4.4). SocketRocket is asynchronous and non-blocking. Most of the work is done on a background thread. You can include SocketRocket as a subproject inside of your application if you'd prefer, although we do not recommend this, as it will increase your indexing time significantly. To do so, just drag and drop the SocketRocket.xcodeproj file into your workspace. Included are setup scripts for the python testing environment. It comes packaged with vitualenv so all the dependencies are installed in userland. SocketRocket includes a demo app, TestChat. It will "chat" with a listening websocket on port 9900. The sever takes a message and broadcasts it to all other connected clients.

Features

  • TLS (wss) support, including self-signed certificates
  • Supports HTTP Proxies
  • Supports IPv4/IPv6
  • Supports SSL certificate pinning
  • Sends ping and can process pong events
  • Supports iOS, macOS, tvOS

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow SocketRocket

SocketRocket Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SocketRocket!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Objective C

Related Categories

Objective C Libraries

Registered

2021-06-21