-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Description
Hello,
Mint natively supports making requests on unix sockets by setting the address to {:local, "/path/to/socket.sock"} and the port number to 0, for example:
{:ok, conn} = Mint.HTTP.connect(:http, {:local, "/var/run/docker.sock"}, 0, hostname: "localhost")For more context, tests for this functionality in Mint can be found here.
However, to my knowledge Finch does not currently allow this.
In case this feature may be desirable, a possible approach could be to do as Hackney does, ie. supporting url schemas in the form of eg. "http+unix".
Metadata
Metadata
Assignees
Labels
No labels