We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I'd like to fetch something from a socket instead of a TCP/IP host:port.
So if I start the server like:
import { createServer } from 'node:http2'; const server = createServer(); // ...define services. server.listen('/tmp/test.sock');
I'd like to be able to fetch from it.
The native node fetch allows this through a custom agent, i.e.:
fetch
fetch('http://anything/my/path', { dispatcher: new Agent({ socketPath: '/tmp/test.sock'})});
but there's not an equivalent in fetch-h2.
fetch-h2
Can this be added?
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. I'd like to fetch something from a socket instead of a TCP/IP host:port.
So if I start the server like:
I'd like to be able to fetch from it.
The native node
fetch
allows this through a custom agent, i.e.:but there's not an equivalent in
fetch-h2
.Can this be added?
Thank you.
The text was updated successfully, but these errors were encountered: