Summary

In this chapter, you learned how the socket.io module works. You went over the key features of Socket.io and learned how the server and client communicate. You configured your Socket.io server and learned how to integrate it with your Express application. You also used the Socket.io handshake configuration to integrate the Passport session. Finally, you built a fully functional chat example and learned how to wrap the Socket.io client with an Angular service. In the next chapter, you'll learn how to write and run tests to cover your application code.

Get MEAN Web Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.