Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Define the sendMessage function which will be responsible for parsing input, sending it to server and displaying it in the local chat as a message

Node Note that messages is sent using WebRTC data channels

...