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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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