Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add unix socket support #528

Closed

Conversation

mkg20001
Copy link

@mkg20001 mkg20001 commented Oct 2, 2018

Adds support for requests over unix sockets, similar to how npm.im/request does it
Example: fetch('http://unix:/var/lib/lxd/unix.socket:/') does a GET / on /var/lib/lxd/unix.socket

@bitinn
Copy link
Collaborator

bitinn commented Nov 5, 2018

Thx for the PR but we have no plan to support unix socket yet.

However, check if this approach allow you to use unix socket through passing in an Agent.

#336 (comment)

@bitinn bitinn closed this Nov 5, 2018
@elmerbulthuis
Copy link

Would love to see unix socket upport! Also, why not?

Our particular use case is communication with the docker engine. We developed an openapi client that is using node-fetch. One of the clients we generate is for the docker engine. This engine usually listens to a unix socket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants