我想像使用curl和docker的以下示例那样,在UNIX套接字上发起HTTP请求
$ curl --unix-socket /var/run/docker.sock https://127.0.0.1/images/json
[
{
"Containers": -1,
"Created": 1577395270,
"Id": "sha256:ce6c1e7ac56533e2742030f033cf0d8cf0adc996c7bb87453eb5adc266b2ef2e",
"Labels": null,
"ParentId": "",
"RepoDigests": [
"busybox@sha256:7fe0cb3632d9ea7b2a9ab4427e339e01f7cdfeff50674804cb8946664976c610"
],
"RepoTags": [
"busybox:musl"
],
"SharedSize": -1,
"Size": 1461385,
"VirtualSize": 1461385
}
]
据我所见,clj-http 似乎不支持此功能。
在Clojure中,有推荐的/习惯的做法来做这件事吗?