Node Http2 request to another origin

Does Cloudflare worker support request to outsource Http2 ? - I want to use node:http2 request to APNs
import http2 from "node:http2"; //Cannot find module 'node:http2' or its corresponding type declarations.
const session = http2.connect("https://api.sandbox.push.apple.com:443");
import http2 from "node:http2"; //Cannot find module 'node:http2' or its corresponding type declarations.
const session = http2.connect("https://api.sandbox.push.apple.com:443");
- I see Cloudflare has fetch api in their own build but when making request the Network connection is lost for HTTP is work fine but error with HTTP2
1 Reply
kyawthura
kyawthura2mo ago
did you make it work?
Want results from more Discord servers?
Add your server