RequestError: Unexpected option: resolveProtocol
...
using custom resolveProtocol function to prevent IP leak when using proxies
...
import http2 from 'http2-wrapper';
const resolveProtocol = http2.auto.createResolveProtocol(new Map(), new Map());
got.get(URL, { resolveProtocol })
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too