deno_std
deno_std copied to clipboard
node: Handle "upgrade" event
@bartlomieju Is it possible to write test case for upgrade behavior?
Yes, I will write a test (or enable some Node tests) before landing.
@kt3k I would like to land this PR without tests - I verified that it works with both Vite and express. Adding tests requires larger refactor that I'd like to tackle next week or two weeks after.
Does Deno.serve supports listening on port 0 (= random available port)?
I see this message while running node/http_test.ts: Listening on http://localhost:0/