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>
pull/3187/head
Fred Vasquez 2 years ago committed by GitHub
parent b5ae4b3522
commit 7d53de587b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      content/roadmaps/117-flutter/content/108-working-with-apis/101-web-sockets.md

@ -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> <ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://docs.flutter.dev/cookbook/networking/web-sockets'>Work with WebSockets</BadgeLink> <BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://docs.flutter.dev/cookbook/networking/web-sockets'>Work with WebSockets</BadgeLink>

Loading…
Cancel
Save