o
    >h                     @   s   G d d dZ dS )c                   @   s    e Zd ZdZdd Zdd ZdS )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                 C   s
   || _ dS )zH
        Middleware constructor - just takes inner application.
        N)inner)selfr    r   s/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/channels/middleware.py__init__
   s   
zBaseMiddleware.__init__c                    s   t |}| |||I dH S )zg
        ASGI application; can insert things into the scope and run asynchronous
        code.
        N)dictr   )r   scopereceivesendr   r   r   __call__   s   zBaseMiddleware.__call__N)__name__
__module____qualname____doc__r   r   r   r   r   r   r      s    r   N)r   r   r   r   r   <module>   s    