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

Use native web server APIs #1

Merged
merged 8 commits into from
Aug 27, 2022
Merged

Use native web server APIs #1

merged 8 commits into from
Aug 27, 2022

Conversation

snowteamer
Copy link
Owner

 - Add response.toWeb() method for serialization
 - Add server.url to simplify using inject() with absolute URLs as required for web Request objects
 - Allow h.response() to take an Error or response
 - Improve stack traces and options for Bang errors
 - Allow more APIs to take URL objects
 - Make server.inject() take a web Request and return a web Response
 - Use the esm.sh CDN for npm dependencies
 - Improve TypeScript types for response.rewritable() and other APIs
@snowteamer snowteamer merged commit 43f929a into master Aug 27, 2022
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

Successfully merging this pull request may close these issues.

2 participants