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
` var http2 = require('http2-wrapper');
(async () => { let { got } = await import('got'); let url = 'https://whatever.com'; let result = await got.get(url, { headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0' }, maxRedirects: 0, retry: { limit: 0 }, request: http2.auto, http2: true, agent: { http2: new http2.proxies.Http2OverHttp({ proxyOptions: { url: 'http://127.0.0.1:10809', rejectUnauthorized: false } }) } }).json(); console.log(result); })(); `
The http2 agent doesn't work, proxy log is empty, I'm using v2ray as proxy server, it supports both http and socks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`
var http2 = require('http2-wrapper');
(async () => {
let { got } = await import('got');
let url = 'https://whatever.com';
let result = await got.get(url, {
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0'
},
maxRedirects: 0,
retry: {
limit: 0
},
request: http2.auto,
http2: true,
agent: {
http2: new http2.proxies.Http2OverHttp({
proxyOptions: {
url: 'http://127.0.0.1:10809',
rejectUnauthorized: false
}
})
}
}).json();
console.log(result);
})();
`
The http2 agent doesn't work, proxy log is empty, I'm using v2ray as proxy server, it supports both http and socks.
The text was updated successfully, but these errors were encountered: