cmorten / opine

Minimalist web framework for Deno ported from ExpressJS.
https://github.com/cmorten/opine/blob/main/.github/API/api.md
MIT License
854 stars 43 forks source link

[FEAT] Adopt Native HTTP Server #115

Closed asos-craigmorten closed 2 years ago

asos-craigmorten commented 3 years ago

Issue

Details

In Deno 1.9.0 ( https://github.com/denoland/deno/releases/tag/v1.9.0 ) native HTTP bindings were introduced to Deno ( https://github.com/denoland/deno/pull/9935 ) allowing for potential performance improvements, and opening the path towards HTTP2 support and other features.

This issue is to adapt Opine to support the new HTTP setup.

See Oak as an example:

Ideally we either support both old and new with either an adaptor based on feature detection or flag ( or a combination of both ), or we wait for the feature to become stable and then adopt with a new major.

janusz-f commented 3 years ago

I can help you with adoptation to native HTTP