(scope: Scope, receive: Receive, send: Send)
| 62 | |
| 63 | def _asgi_client(server: Server[Any], security_settings: TransportSecuritySettings | None = None) -> httpx.AsyncClient: |
| 64 | async def app(scope: Scope, receive: Receive, send: Send) -> None: |
| 65 | async with server.lifespan(server) as lifespan_state: |
| 66 | await handle_modern_request(server, security_settings, lifespan_state, scope, receive, send) |
| 67 | |
| 68 | return httpx.AsyncClient( |
| 69 | transport=httpx.ASGITransport(app=app), |
nothing calls this directly
no test coverage detected