Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/uvicorn/middleware/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/uvicorn/middleware/asgi2.py

from uvicorn._types import (
    ASGI2Application,
    ASGIReceiveCallable,
    ASGISendCallable,
    Scope,
)


class ASGI2Middleware:
    def __init__(self, app: "ASGI2Application"):
        self.app = app

    async def __call__(self, scope: "Scope", receive: "ASGIReceiveCallable", send: "ASGISendCallable") -> None:
        instance = self.app(scope)
        await instance(receive, send)

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists