Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
H2alagút: Fetch adapter that uses HTTP/2 and can tunnel through an HTTP/1 proxy (npmjs.com)
1 point by lloydjones 11 months ago | hide | past | favorite | 1 comment


What?

- 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: