Summary
In this chapter, we built our first WebSocket client application! We introduced the WebSocket
object and explained its various methods, events, and properties. We also developed a basic chat client in a few lines of HTML and JavaScript code. As you noticed in the current examples, there is only a dummy server which echoes the messages. Read on to find out how we you can configure your own WebSocket server to do a lot more magic.
Tip
Downloading the example code
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.