
    h                          G d  d      Z y)c                       e Zd ZdZd Zd Zy)BaseMiddlewarez
    Base class for implementing ASGI middleware.

    Note that subclasses of this are not self-safe; don't store state on
    the instance, as it serves multiple application instances. Instead, use
    scope.
    c                     || _         y)zH
        Middleware constructor - just takes inner application.
        N)inner)selfr   s     O/var/www/Befach/backend/env/lib/python3.12/site-packages/channels/middleware.py__init__zBaseMiddleware.__init__
   s     
    c                 Z   K   t        |      }| j                  |||       d{   S 7 w)zg
        ASGI application; can insert things into the scope and run asynchronous
        code.
        N)dictr   )r   scopereceivesends       r   __call__zBaseMiddleware.__call__   s*      UZZw5555s   "+)+N)__name__
__module____qualname____doc__r   r    r	   r   r   r      s    6r	   r   N)r   r   r	   r   <module>r      s   6 6r	   