docs(examples): Update send_file example to use tokio-fs
This commit is contained in:
committed by
Sean McArthur
parent
14d9246de2
commit
7eca445ff9
@@ -14,6 +14,6 @@ Run examples with `cargo run --example example_name`.
|
||||
|
||||
* [`params`](params.rs) - A webserver that accept a form, with a name and a number, checks the parameters are presents and validates the input.
|
||||
|
||||
* [`send_file`](send_file.rs) - A server that sends back content of files either simply or streaming the response.
|
||||
* [`send_file`](send_file.rs) - A server that sends back content of files using tokio_fs to read the files asynchronously.
|
||||
|
||||
* [`web_api`](web_api.rs) - A server consisting in a service that returns incoming POST request's content in the response in uppercase and a service that call that call the first service and includes the first service response in its own response.
|
||||
|
||||
Reference in New Issue
Block a user