3 ms·
H2alagút: Fetch adapter that uses HTTP/2 and can tunnel through an HTTP/1 proxy
- lloydjones 2y agoWhat? - HTTP/2: Utilises Node's built‑in http2 module. - Proxy Tunneling: Automatically tunnels through an HTTP/1 proxy (via HTTP CONNECT) when a proxy configuration is provided. - Fetch-like API: Provides a drop‑in replacement for the standard Fetch API. The returned Response object supports properties such as status and methods like text() and json(). Why? Because many proxy services still use HTTP/1.1, while many sites use HTTP/2.