This app demonstrates native iOS app communication over the Web with an Echo service
hosted by a Kaazing WebSocket Gateway. The app
sends messages to the Echo service over WebSocket using the Kaazing iOS WebSocket Client Framework.
The Echo service hosted by the Kaazing WebSocket Gateway reflects back the message that is
sent by the native iOS app. Kaazing iOS Client frameworks are
located at kaazing.com/download.
- Xcode 5 or higher
- Xcode's Command Line Tools. From Xcode, install via Xcode → Preferences → Downloads.
You can build and run the Kaazing iOS WebSocket app by loading the project in Xcode. Once the project is loaded in Xcode, run the application in an iPhone/iPad simulator.
Use wss://demos.kaazing.com/echo as the Location of the WebSocket endpoint to send and receive messages.
Source code for the demos is located in ws/src folder. The source not only includes the Objective-C
modules and headers but also the project files that are useful for loading the project in Xcode.
Detailed instructions to create the Kaazing iOS WebSocket app from scratch and send and receive messages over WebSocket can be found here.
API Documentation for Kaazing iOS WebSocket Client Framework is available here.