1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-13 12:43:59 +02:00

Update websockets content (#3183)

* Update 101-web-sockets.md

Adding simple introduction and useful links.

* Update websockets link

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Fred Vasquez
2022-12-27 11:13:32 -03:00
committed by GitHub
parent b5ae4b3522
commit 7d53de587b

View File

@@ -1,6 +1,7 @@
# Web sockets
# Web Sockets
In addition to normal HTTP requests, you can connect to servers using WebSockets. Web sockets allows for bidirectional communication between a client (such as a web browser) and a server over a single, long-lived connection. They are a more efficient alternative to HTTP for providing real-time data, as they allow for the server to push data to the client as soon as it becomes available, rather than requiring the client to continuously poll the server for updates.
In addition to normal HTTP requests, you can connect to servers using WebSockets. WebSockets allow for two-way communication with a server without polling.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://docs.flutter.dev/cookbook/networking/web-sockets'>Work with WebSockets</BadgeLink>