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
parent
b5ae4b3522
commit
7d53de587b
1 changed files with 3 additions and 2 deletions
@ -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> |
||||
|
Loading…
Reference in new issue