Build a Vue Component to send a message to specific users using Socket.io

InstructorMark Barton

Share this video with your friends

Send Tweet

Building on the previous lesson this lesson will build a Vue component for composing a message to send to a specific user or group of users.

The lesson will not use HTTP for communication between Server and Client and Client to Server but instead use Socket.io to demonstrate bi-directional real time communication.

Once the payload has been received at the server the targeted User or Group will be identified and Socket.io will then emit the payload to them. The clients will then use the previous lessons PopupMessage component to display the message.