h3 icon indicating copy to clipboard operation
h3 copied to clipboard

H3Event Class

Open pi0 opened this issue 2 years ago • 0 comments

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

pi0 avatar Mar 31 '22 09:03 pi0