ws: This is a new URL scheme for WebSocket connections. There is also wss: for securely connecting to WebSocket in the same way https: used for secure HTTP connections.
A-priory
The WebSocket specification defines an API that establishes socket connections between a web browser and a server.
In simple words
There is a permanent connection between the client and server, and both parties can start sending data at any time. These are full duplex communication channels over a single TCP connection.
Look here for the API and here for the basics of web jacks and here for a simple demo.
source share