summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/http.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/http.ts')
-rw-r--r--ext/node/polyfills/http.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts
index 51d228d4e..f4126241e 100644
--- a/ext/node/polyfills/http.ts
+++ b/ext/node/polyfills/http.ts
@@ -5,8 +5,8 @@
import { core, primordials } from "ext:core/mod.js";
import {
- op_fetch_response_upgrade,
- op_fetch_send,
+ op_node_http_fetch_response_upgrade,
+ op_node_http_fetch_send,
op_node_http_request,
} from "ext:core/ops";
@@ -628,7 +628,7 @@ class ClientRequest extends OutgoingMessage {
(async () => {
try {
- const res = await op_fetch_send(this._req.requestRid);
+ const res = await op_node_http_fetch_send(this._req.requestRid);
if (this._req.cancelHandleRid !== null) {
core.tryClose(this._req.cancelHandleRid);
}
@@ -676,7 +676,7 @@ class ClientRequest extends OutgoingMessage {
throw new Error("not implemented CONNECT");
}
- const upgradeRid = await op_fetch_response_upgrade(
+ const upgradeRid = await op_node_http_fetch_response_upgrade(
res.responseRid,
);
assert(typeof res.remoteAddrIp !== "undefined");