![]() ![]() ![]() With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.īut what it actually means? It means that at a single connection with the server we can send new data to it and also receive the data from the server. The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. WebSockets + Node.js - a perfect match for RTCīy the definition on the Mozilla website: That’s the purpose WebSockets was created and we will explore this topic in the following article. In this case, it means that we will get the resources automatically after the server receives it and propagate it to the clients. Considering this definition another question shows up - can we call harnessing REST API to ask about resources once per second or even more frequently a real-time communication? Let’s start with the basic question: what does real-time communication mean? We can define it as the ability to get resources when they are available and add new ones when we want to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |