To ASGIMiddleware or not #2730
Replies: 1 comment 3 replies
-
I don't get how those decorators are related to the choice of middleware. But generally to minimize issues I would:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The asgiref sync-to-async and async-to-sync function decoraters are used extensively in our code. After reading the Starlette pure-asgi-middleware documentation https://www.starlette.io/middleware/#pure-asgi-middleware, should we be using the example asgiref-specific ASGIMIddleware?
Beta Was this translation helpful? Give feedback.
All reactions