haven't tried it or looked too much in depth yet, ...
# ktor
m
haven't tried it or looked too much in depth yet, but do the ktor client libraries support talking to unix sockets?
d
I think they don’t, since it is not supported by JDK directly. (Though I think Netty supports them) What’s your use-case?
m
was looking to experiment with writing a docker plugin (https://docs.docker.com/engine/extend/plugin_api/#plugin-discovery) from the server side that listens on a unix socket and communicating with the docker engine from the client side (defaults to unix socket https://docs.docker.com/engine/reference/commandline/dockerd/#description)
it's super nice being able to do something like
curl --unix-socket /var/run/docker.sock http:/images/json
, and not many (if any) java client libraries allow you to do anything like that
want me to open an issue for client/server support for unix sockets? or would it be better if i tried to see if i can make it work first?
d
I think you can open a feature request issue
m
thanks @Deactivated User, i filed https://github.com/ktorio/ktor/issues/412 and ill hopefulyl have some time to experiment this weekend
👍 1