Skip to content

Commit

Permalink
docs: move to Network category
Browse files Browse the repository at this point in the history
  • Loading branch information
behzadam committed Aug 13, 2024
1 parent 6b7ac76 commit 37d31c2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/network/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Network",
"position": 1,
"link": {
"type": "generated-index",
"description": "Advanced Network Concepts"
}
}
File renamed without changes
6 changes: 4 additions & 2 deletions docs/web-socket.md → docs/network/web-socket.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ sidebar_position: 1

# WebSocket

Real-Time Communication Over a Single Connection.
## What is WebSocket?

WebSocket is a communication protocol that enables full-duplex communication between a client and a server over a single, long-lived connection. It provides a way for web applications to establish a persistent connection and exchange data in real-time.

![WebSocket Diagram](./web-socket-diagram.svg "WebSocket Diagram")

[Github Repo](https://github.com/behzadam/sample-websocket) (>‿◠)

## Protocol Switching
## How Protocol Switching Works?

1. Initiation:

Expand Down
Binary file removed docs/web-socket-diagram.png
Binary file not shown.

0 comments on commit 37d31c2

Please sign in to comment.