Skip to content
New issue

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

Support HTTP2 #62

Open
c-antin opened this issue Jan 6, 2024 · 2 comments
Open

Support HTTP2 #62

c-antin opened this issue Jan 6, 2024 · 2 comments

Comments

@c-antin
Copy link

c-antin commented Jan 6, 2024

Any plans on supporting an HTTP2 connection especially for the client?

See https://deno.com/blog/v1.38#websockets-improvements

Use case: rust client connecting to deno server over h2

@c-antin
Copy link
Author

c-antin commented Jan 6, 2024

An alternative would be deno gRPC server support + rust tonic client for bidirectional binary streams.
See denoland/deno#17308 (comment)

@littledivy
Copy link
Member

littledivy commented May 27, 2024

You can perform the handshake yourself using h2 and pass the stream to WebSocket::after_handshake. This is how it's implemented in Deno right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants