Open bmillwood opened 1 year ago
Merging #189.
We can further discuss here about how to take this forward with maintaining backward compatibility for the current users. Another idea is to make the connectHost
as Maybe
and return error on Nothing
when connectPort
is not Unix Socket
.
I think instead of
connectHost
andconnectPort
, the connection details should includeconnectAddr
which is aSockAddr
. This would help avoid confusion about whatconnectHost
does or whether it needs to be set correctly when you're connecting via Unix socket.