asgiref
asgiref copied to clipboard
Example apps in docs
The spec currently defines a lot of details without any example apps (except in the lifespan section). It would be good to include basic examples, perhaps function and class versions for both full apps and middleware.
Do we want one for each: HTTP, WebSockets, and extensions?
If I receive the Andrew's ack here, I can work on a PR. :+1:
If you can somehow make them clean and simple, sure!
Is this clean and simple: https://github.com/django/asgiref/pull/366 ?
It is!