class documentation
class DispatcherMiddleware: (source)
Combine multiple applications as a single WSGI application. Requests are dispatched to an application based on the path it is mounted under. :param app: The WSGI application to dispatch to if the request doesn't match a mounted path. :param mounts: Maps path prefixes to applications for dispatching.
Method | __call__ |
Undocumented |
Method | __init__ |
Undocumented |
Instance Variable | app |
Undocumented |
Instance Variable | mounts |
Undocumented |
def __call__(self, environ:
WSGIEnvironment
, start_response: StartResponse
) -> t.Iterable[ bytes]
:
(source)
¶
Undocumented