WsgiMiddleware Class

Inheritance
builtins.object
WsgiMiddleware

Constructor

WsgiMiddleware(app)

Parameters

Name Description
app
Required

Methods

handle

handle

handle(req: HttpRequest, context: Context | None = None) -> HttpResponse

Parameters

Name Description
req
Required
context
Default value: None

Attributes

main