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

re-implement http server with web apis #598

Open
1 task
bluwy opened this issue Feb 24, 2025 · 1 comment
Open
1 task

re-implement http server with web apis #598

bluwy opened this issue Feb 24, 2025 · 1 comment
Assignees
Labels
breaking enhancement New feature or request

Comments

@bluwy
Copy link
Contributor

bluwy commented Feb 24, 2025

Describe the feature

Just wondering of the issue title. I noticed that Astro is using unstorage but doesn't use its HTTP server feature, which depends on h3 that's medium-ish in size.

Alternatively perhaps there's a way to simplify the HTTP server support without bringing in many dependencies?

Additional information

  • Would you be willing to help implement this feature?
@bluwy bluwy added the enhancement New feature or request label Feb 24, 2025
@pi0 pi0 added the breaking label Feb 24, 2025
@pi0
Copy link
Member

pi0 commented Feb 24, 2025

Thanks for creating the issue. Yes probably for v2 we should migrate to simply Request => Response handler (and support node.js via srvx as optional peer dep.

I plan to do this ecosystem-wiede refactor as soon as have little more bandwidth (after h3 v2 release which also will go this direction)

(alternatively we can make h3 v2 -- which has less deps an optional peer dependency -- depends on how it goes I should investigate)

@pi0 pi0 self-assigned this Feb 24, 2025
@pi0 pi0 changed the title Move HTTP server support as separate package re-implement http server with web apis Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants