class documentation

class DispatcherMiddleware:

View In Hierarchy

Combine multiple applications as a single WSGI application. Requests are dispatched to an application based on the path it is mounted under.
Parameters
appThe WSGI application to dispatch to if the request doesn't match a mounted path.
mountsMaps path prefixes to applications for dispatching.
Method __call__ Undocumented
Method __init__ Undocumented
Instance Variable app Undocumented
Instance Variable mounts Undocumented
def __call__(self, environ, start_response):

Undocumented

Parameters
environ:WSGIEnvironmentUndocumented
start​_response:StartResponseUndocumented
Returns
t.Iterable[bytes]Undocumented
def __init__(self, app, mounts=None):

Undocumented

Parameters
app:WSGIApplicationUndocumented
mounts:t.Optional[t.Dict[str, WSGIApplication]]Undocumented
app =

Undocumented

mounts =

Undocumented