
    i7                     L    S SK r  " S S\ R                  5      r " S S\5      rg)    Nc                   4   ^  \ rS rSrSr  SU 4S jjrSrU =r$ )WSGIApp   a  WSGI middleware for Socket.IO.

This middleware dispatches traffic to a Socket.IO application. It can also
serve a list of static files to the client, or forward unrelated HTTP
traffic to another WSGI application.

:param socketio_app: The Socket.IO server. Must be an instance of the
                     ``socketio.Server`` class.
:param wsgi_app: The WSGI app that receives all other traffic.
:param static_files: A dictionary with static file mapping rules. See the
                     documentation for details on this argument.
:param socketio_path: The endpoint where the Socket.IO application should
                      be installed. The default value is appropriate for
                      most cases.

Example usage::

    import socketio
    import eventlet
    from . import wsgi_app

    sio = socketio.Server()
    app = socketio.WSGIApp(sio, wsgi_app)
    eventlet.wsgi.server(eventlet.listen(('', 8000)), app)
c                 $   > [         TU ]  XUUS9  g )N)static_filesengineio_pathsuper__init__)selfsocketio_appwsgi_appr   socketio_path	__class__s        P/home/admin/cozy_coffee/venv/lib/python3.13/site-packages/socketio/middleware.pyr   WSGIApp.__init__   s    l'4 	 	6     )NN	socket.io__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classcell__r   s   @r   r   r      s    2 BF*6 6r   r   c                   4   ^  \ rS rSrSr  SU 4S jjrSrU =r$ )
Middleware$   z=This class has been renamed to WSGIApp and is now deprecated.c                 "   > [         TU ]  XUS9  g )N)r   r	   )r   r   r   r   r   s       r   r   Middleware.__init__&   s    }Mr   r   )Nr   r   r   s   @r   r    r    $   s    G.2*N Nr   r    )engineior   r    r   r   r   <module>r%      s)    6h 6@N Nr   