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

H3Event Class #81

Closed
pi0 opened this issue Mar 31, 2022 · 0 comments
Closed

H3Event Class #81

pi0 opened this issue Mar 31, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pi0
Copy link
Member

pi0 commented Mar 31, 2022

Related to #73

The current approach for universal compatibility is to take node req and res as references and emulate them with unenv. With the new Event interface, we can move towards the native web events.

  • New H3Event class wrapping req and res and implementing FetchEvent interface (minimal)
  • Create new H3EventRequest class wrapping H3Event and implimenting Request interface (minimal)
  • New test suite for event interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants