Skip to content

What is WebSocket? Definition and explanations

WebSocket is a protocol that keeps a two-way connection open between browser and server. Unlike a classic HTTP request, where the client asks and the server answers once, the connection stays up and either side can send a message at any moment. It underpins chat, live dashboards and instant notifications.

In one sentence

WebSocket keeps a two-way connection open between browser and server.

Related terms

Sources and references

Glossary