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) --- runtime/js/40_http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/js/40_http.js') diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js index cfb015edd..dd6c99a2d 100644 --- a/runtime/js/40_http.js +++ b/runtime/js/40_http.js @@ -18,7 +18,7 @@ return entries; } - function startHttp(conn) { + function serveHttp(conn) { const rid = Deno.core.jsonOpSync("op_http_start", conn.rid); return new HttpConn(rid); } @@ -205,6 +205,6 @@ } window.__bootstrap.http = { - startHttp, + serveHttp, }; })(this); -- cgit v1.2.3