]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Remove the UDS section from docs (#1009)
authorAlexander Pushkov <iamale@firemail.cc>
Sat, 30 May 2020 18:43:15 +0000 (21:43 +0300)
committerGitHub <noreply@github.com>
Sat, 30 May 2020 18:43:15 +0000 (20:43 +0200)
docs/async.md

index 83dbbb34bd59c3a8a21df398cf5c03d1aa3c349b..b56f04197143160d760d224672f70735f85e2508 100644 (file)
@@ -182,20 +182,3 @@ async with httpx.AsyncClient(transport=transport, base_url="http://testserver")
 ```
 
 See [the ASGI documentation](https://asgi.readthedocs.io/en/latest/specs/www.html#connection-scope) for more details on the `client` and `root_path` keys.
-
-## Unix Domain Sockets
-
-The async client provides support for connecting through a unix domain socket via the `uds` parameter. This is useful when making requests to a server that is bound to a socket file rather than an IP address.
-
-Here's an example requesting the Docker Engine API:
-
-```python
-import httpx
-
-
-async with httpx.AsyncClient(uds="/var/run/docker.sock") as client:
-    # This request will connect through the socket file.
-    resp = await client.get("http://localhost/version")
-```
-
-This functionality is not currently available in the synchronous client.