MCPcopy
hub / github.com/encode/starlette / app

Function app

starlette/routing.py:57–64  ·  starlette/routing.py::app
(scope: Scope, receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

55 )
56
57 async def app(scope: Scope, receive: Receive, send: Send) -> None:
58 request = Request(scope, receive, send)
59
60 async def app(scope: Scope, receive: Receive, send: Send) -> None:
61 response = await f(request)
62 await response(scope, receive, send)
63
64 await wrap_app_handling_exceptions(app, request)(scope, receive, send)
65
66 return app
67

Callers 1

wrapped_appFunction · 0.70

Calls 4

RequestClass · 0.90
WebSocketClass · 0.90
funcFunction · 0.85

Tested by

no test coverage detected