UnixSocket
Dohttp provides feasibility to make requests to server exposed via unix socket.
What is unix socket?
for more information visit here
For supporting unix socket url has to be encoded to some thing like this
http+unix://%2Fvar%2Frun%2Fdocker.sock
--^----------------^-------------------
protocal path (actual path is /var/run/docker.sock
, slashes are encoded to set in hostname)
protocal has to be http+unix
hostname has to be urlencoded or replace /
with %2F
(this is requried as dothttp has to figure out url path, having both same confuses)