Update README.md

This commit is contained in:
2026-01-14 08:43:23 +00:00
parent 61d2994d8c
commit 7b03312fb2

View File

@@ -1,3 +1,18 @@
# SlowAPI # SlowAPI
A barely working HTTP server A barely working HTTP server
```py
from slow import App, render
app = App()
@app.GET("/")
def home(request):
return render("index.html")
import asyncio
if __name__ == "__main__":
asyncio.run(app.run(host="localhost", port=8080))
```