diff options
Diffstat (limited to 'cli/bench/deno_http_native.js')
-rw-r--r-- | cli/bench/deno_http_native.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |