The example code listed here shows how to make warp listen only on specific hosts.
Furtheremore, this post shows some basics on how to use unix domain sockets in Haskell.
How can I combine those two approaches in order to make warp listen on (i.e. bind to) a specific unix domain socket (say, warp.sock
)?
Note: This question intentionally shows no research effort as it was answered Q&A-Style.