Find file History
darrachequesne [docs] fix `this` scope in the chat example
`user is typing` messages were not properly removed

Closes #3291
Latest commit 7e35f90 Aug 28, 2018

README.md

Socket.IO Chat

A simple chat demo for socket.io

How to use

$ cd socket.io
$ npm install
$ cd examples/chat
$ npm install
$ npm start

And point your browser to http://localhost:3000. Optionally, specify a port by supplying the PORT env variable.

Features

  • Multiple users can join a chat room by each entering a unique username on website load.
  • Users can type chat messages to the chat room.
  • A notification is sent to all users when a user joins or leaves the chatroom.