We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e186ecc commit 92e9dfbCopy full SHA for 92e9dfb
httpx/_transports/asgi.py
@@ -50,17 +50,8 @@ async def __aiter__(self) -> typing.AsyncIterator[bytes]:
50
class ASGITransport(AsyncBaseTransport):
51
"""
52
A custom AsyncTransport that handles sending requests directly to an ASGI app.
53
- The simplest way to use this functionality is to use the `app` argument.
54
55
- ```
56
- client = httpx.AsyncClient(app=app)
57
58
-
59
- Alternatively, you can setup the transport instance explicitly.
60
- This allows you to include any additional configuration arguments specific
61
- to the ASGITransport class:
62
63
+ ```python
64
transport = httpx.ASGITransport(
65
app=app,
66
root_path="/submount",
0 commit comments