(_request: httpx2.Request)
| 2578 | tracer = spans.provider.get_tracer("app") |
| 2579 | |
| 2580 | def handler(_request: httpx2.Request) -> httpx2.Response: |
| 2581 | # What an application's transport, event hook or HTTP instrumentation does while the SDK sends. |
| 2582 | with tracer.start_as_current_span("app.transport"): |
| 2583 | return httpx2.Response(200, json=MESSAGE) |
| 2584 | |
| 2585 | if sync: |
| 2586 | client = make_client(spans, http_client=httpx2.Client(transport=httpx2.MockTransport(handler))) |
no test coverage detected