molnarg / node-http2

An HTTP/2 client and server implementation for node.js
MIT License
1.79k stars 185 forks source link

HTTP Proxy how? #234

Open natanavra opened 7 years ago

natanavra commented 7 years ago

How would you go about defining a proxy for connections?

paambaati commented 6 years ago

@molnarg Would you mind helping with this please?

molnarg commented 6 years ago

I think you can do it the same way you would do it with simple http connections. The API is the same, so there should be no difference if you don't want to use HTTP2 specific features.

Somberor commented 2 years ago

How would you go about defining a proxy for connections?

Was you able achieve proxy on HTTP2? I keep getting error code: 'ERR_SSL_WRONG_VERSION_NUMBER'