From c6e7a243d524417fe77c4799a2bcc1b3db1bf01a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 9 Apr 2021 11:54:27 -0400 Subject: API change: Deno.startHttp -> Deno.serveHttp (#10087) --- cli/bench/deno_http_native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/bench') diff --git a/cli/bench/deno_http_native.js b/cli/bench/deno_http_native.js index fa779be21..57c19b4b9 100644 --- a/cli/bench/deno_http_native.js +++ b/cli/bench/deno_http_native.js @@ -9,7 +9,7 @@ const body = Deno.core.encode("Hello World"); for await (const conn of listener) { (async () => { - const requests = Deno.startHttp(conn); + const requests = Deno.serveHttp(conn); for await (const { respondWith } of requests) { respondWith(new Response(body)); } -- cgit v1.2.3