Skip to content

Commit a0aa782

Browse files
authored
Merge pull request #3868 from shaedrich/websocket
Add topic "websocket"
2 parents 3ce1d6e + 0430523 commit a0aa782

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

topics/websocket/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
related: long-polling, polling
3+
aliases: websockets, ws
4+
created_by: Michael Carter, Ian Hickson
5+
display_name: WebSocket
6+
short_description: The WebSocket protocol enables web applications to maintain bidirectional communications with server-side processes.
7+
topic: websocket
8+
url: https://websockets.spec.whatwg.org/
9+
wikipedia_url: https://en.wikipedia.org/wiki/WebSocket
10+
---
11+
12+
WebSocket is a computer communications protocol, providing full-duplex communication channels for interaction between a web browser (or other client application) and a web server over a single TCP connection. The WebSocket protocol allows for sending messages to a server and receiving event-driven responses without having to poll the server for a reply, facilitating real-time data transfer from and to the server. This is made possible by providing a standardized way for the server to send content to the client without being first requested by the client, and allowing messages to be passed back and forth while keeping the connection open. In this way, a two-way ongoing conversation can take place between the client and the server.

0 commit comments

Comments
 (0)