What is a Websocket API?
The WebSocket API enables a defined period of two-way communication between the user's browser and a server. The API is used to send server messages and action user responses without having to wait for a reply from the server. See also REST API.