With Deno.serveHttp marked as deprecated is there a way to run an HTTP server off of a Deno.Conn?
I have a bit of weird use-case where I want to start a listener, accept the first TCP connection (and serve HTTP to it) and then reject all future TCP connections.
I have the following code:
Is there a way to do this using Deno.serve, or something else?
I have the following code:
Is there a way to do this using Deno.serve, or something else?
