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
HTTP/2 defines a CONNECT method, where a single HTTP/2 stream is used to proxy data to/from an arbitrary TCP server.
It is described in https://datatracker.ietf.org/doc/html/rfc9113#name-the-connect-method
A rudimentary implementation is straightforward, though I don't know how compliant it is:
3d68e47
I tested my code against an example server described in https://nodejs.org/api/http2.html#supporting-the-connect-method
Testing this code requires updating MockWebServer, I assume.
The text was updated successfully, but these errors were encountered:
@swankjesse thoughts? The impl seems quite clean.
Sorry, something went wrong.
No branches or pull requests
HTTP/2 defines a CONNECT method, where a single HTTP/2 stream is used to proxy data to/from an arbitrary TCP server.
It is described in https://datatracker.ietf.org/doc/html/rfc9113#name-the-connect-method
A rudimentary implementation is straightforward, though I don't know how compliant it is:
3d68e47
I tested my code against an example server described in https://nodejs.org/api/http2.html#supporting-the-connect-method
Testing this code requires updating MockWebServer, I assume.
The text was updated successfully, but these errors were encountered: