Robyn now supports middlewares!!
Sample Usage
You can use both sync and async functions for middlewares!
@app.before_request("/")
async def hello_before_request(request):
print(request)
@app.after_request("/")
def hello_after_request(request):
print(request)
What's Changed
Full Changelog: v0.12.1...v0.13.0