Skip to content

Commit

Permalink
Drop mention of backend selection for AsyncHTTPTransport() in docs (#…
Browse files Browse the repository at this point in the history
…2019)

There is no 'backend' parameter to AsyncHTTPTransport and it seems that
the backend is detected automatically for anyio as it is for other async
libraries.
  • Loading branch information
dlax authored Jan 10, 2022
1 parent c6c8cb1 commit 3eaf69a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,6 @@ async def main():
anyio.run(main, backend='trio')
```

When instantiating a transport instance explicitly, for maximum consistency, the same `backend` parameter can be passed to `AsyncHTTPTransport`.
```python
transport = httpx.AsyncHTTPTransport(backend="trio")
```


## Calling into Python Web Apps

Just as `httpx.Client` allows you to call directly into WSGI web applications,
Expand Down

0 comments on commit 3eaf69a

Please sign in to comment.