diff options
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/40_http.js | 4 | ||||
-rw-r--r-- | runtime/js/90_deno_ns.js | 2 |
2 files changed, 3 insertions, 3 deletions
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); diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index 84eb69ef0..c240d1ea2 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -120,7 +120,7 @@ listen: __bootstrap.netUnstable.listen, connect: __bootstrap.netUnstable.connect, listenDatagram: __bootstrap.netUnstable.listenDatagram, - startHttp: __bootstrap.http.startHttp, + serveHttp: __bootstrap.http.serveHttp, startTls: __bootstrap.tls.startTls, fstatSync: __bootstrap.fs.fstatSync, fstat: __bootstrap.fs.fstat, |