Skip to content
Myr

Update asgi.py docstring (#3210)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michael Feil · committed by GitHub · parent e186ecc · Browse files · 1 file+1 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+1 added−10 removed

  • other:+1 added−10 removed

1 file+1 added−10 removed

modified:httpx/_transports/asgi.py+1 added-10 removed
48 unmodified lines
4950class 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.5355 ```56 client = httpx.AsyncClient(app=app)57 ```5859 Alternatively, you can setup the transport instance explicitly.60 This allows you to include any additional configuration arguments specific61 to the ASGITransport class:6263 ```54 ```python55 transport = httpx.ASGITransport(56 app=app,57 root_path="/submount",58 client=("1.2.3.4", 123)
116 unmodified lines