diff --git a/readme.md b/readme.md index 974526b..bfdab31 100644 --- a/readme.md +++ b/readme.md @@ -233,8 +233,6 @@ Requests can also be sent via [unix domain sockets](http://serverfault.com/quest - `SOCKET` - absolute path to a unix domain socket, e.g. `/var/run/docker.sock` - `PATH` - request path, e.g. `/v2/keys` -Example: - ```js got('http://unix:/var/run/docker.sock:/containers/json'); @@ -242,12 +240,6 @@ got('http://unix:/var/run/docker.sock:/containers/json'); got('unix:/var/run/docker.sock:/containers/json'); ``` -Use-cases: - -- [Docker API](https://docs.docker.com/articles/basics/#bind-docker-to-another-host-port-or-a-unix-socket) (/var/run/docker.sock) -- [fleet API](https://coreos.com/fleet/docs/latest/deployment-and-configuration.html#api) (/var/run/fleet.sock) - - ## Tip It's a good idea to set the `'user-agent'` header so the provider can more easily see how their resource is used. By default, it's the URL to this repo.