How can I communicate HTTP to unix domain sockets in php.
I am looking for a library simmilar to this: requests-unixsocket but this is for python, I need for php.
Kindly give example code if possible.
According to this answer curl has --unix-socket
option but this is not supported in php-curl from this answer.
I found Socket Client for PHP HTTP library for php but cant figure out how to use it.
Kindly share similar libraries.
Edit:
From this blog, can we somehow use CURLOPT_UNIX_SOCKET_PATH
option in php ?