Web Sockets
Learn how to make web socket calls using Gating.
We'll cover the following
In our previous lesson, we learned about assertions. In this lesson, we will learn about web sockets.
What is a web socket?
Web sockets allow us to open a two-way interactive communication channel between the client and a server so that you can send messages to a server and receive event-driven responses without polling the server for a reply.
A simple example would be a chat application, where the users at either end (sender and receiver) can send one or more messages to each other without waiting for each other’s response.
Get hands-on with 1400+ tech skills courses.