docs(examples): update send_file example to async/await

This commit is contained in:
Weihang Lo
2019-07-16 06:26:15 +08:00
committed by Sean McArthur
parent 524a453b6f
commit e8c19fea4c
4 changed files with 83 additions and 80 deletions

View File

@@ -0,0 +1,11 @@
<html>
<head>
<title>Hyper responding example</title>
</head>
<body>
<h1>Hyper responding example</h1>
<a href="index.html">index.html</a> Top Level<br>
<a href="big_file.html">big_file.html</a> This page, streamed in chunks<br>
<a href="no_file.html">no_file.html</a> A 404 test, the requested file does not exist<br>
</body>
</html>