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

Does Hono support HTTP/2? #184

Open
abdurahmanshiine opened this issue Jul 9, 2024 · 4 comments
Open

Does Hono support HTTP/2? #184

abdurahmanshiine opened this issue Jul 9, 2024 · 4 comments

Comments

@abdurahmanshiine
Copy link

Hi there,

Does hono support http2?

@Jayllyz
Copy link
Contributor

Jayllyz commented Jul 9, 2024

@abdurahmanshiine
Copy link
Author

Sorry for not being specific enough. I meant on Bun

@MathurAditya724
Copy link

This is related to bun and not hono, but someone in community came up with this solution -

export default {
  port: 3000,
  fetch: app.fetch,
  certFile: "./cert.pem",
  keyFile: "./key.pem",
};

I think you can get more information about this here - https://bun.sh/docs/api/http#tls

@bmstefanski
Copy link

Hono will need to update streaming utility if they want to support HTTP/2. CTE is forbidden with HTTP/2

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

4 participants