HTML and CSS Reference
any compatible XMPP client at that address and log in. To connect to Google Talk with
your own web client, point a WebSocket proxy server at that address. That server requires
encryption, so make sure the server is configured to make connections over TLS.
In this chapter, we explored how to layer protocols, specifically standard protocols,
over WebSocket and how standard application layer protocols like XMPP may fit into a
standard web architecture. We built a simple chat client that uses the widely used chat
protocol, XMPP, over WebSocket. In doing so, we saw the power of using WebSocket as
a transport layer along with this standard application layer protocol to connect a web
application to an interactive network.
In the next chapter, we will use STOMP on top of WebSocket to build a feature-rich,
real-time messaging application.