Merge pull request #531 from sclaire-1/master

Edit tutorial index.md
This commit is contained in:
Yoshua Wuyts 2019-11-14 22:56:13 +01:00 committed by GitHub
commit ce98834039
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,14 @@
# Tutorial: Writing a chat
Nothing is as simple as a chat server, right? Not quite, chat servers
already expose you to all the fun of asynchronous programming: how
do you handle clients connecting concurrently. How do you handle them disconnecting?
Nothing is simpler than creating a chat server, right?
Not quite, chat servers expose you to all the fun of asynchronous programming:
How do you distribute the messages?
How will the server handle clients connecting concurrently?
In this tutorial, we will show you how to write one in `async-std`.
How will it handle them disconnecting?
How will it distribute the messages?
This tutorial explains how to write a chat server in `async-std`.
You can also find the tutorial in [our repository](https://github.com/async-rs/async-std/blob/master/examples/a-chat).