Skip to content

Deno.serve API #613

Answered by kitsonk
rossholdway asked this question in Q&A
Discussion options

You must be logged in to vote

I am pretty certain the performance improvements were to the stack as a whole and Deno.serve() is effectively syntactic sugar for the lower level stack. When it was originally introduced as unstable, Deno.serve() used a seperate HTTP stack, flash, which now has been integrated into the main.

Because of the way oak handles requests, the lower level API is still most appropriate. Therefore for users of oak, there is nothing to due but upgrade the version on Deno they are using.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rossholdway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants