MCPcopy
hub / github.com/encode/uvicorn / ASGI2Middleware

Class ASGI2Middleware

uvicorn/middleware/asgi2.py:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class ASGI2Middleware:
10 def __init__(self, app: "ASGI2Application"):
11 self.app = app
12
13 async def __call__(self, scope: "Scope", receive: "ASGIReceiveCallable", send: "ASGISendCallable") -> None:
14 instance = self.app(scope)
15 await instance(receive, send)

Callers 1

loadMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected