summaryrefslogtreecommitdiff
path: root/ext/fetch/22_http_client.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-10-31 19:14:22 +0100
committerGitHub <noreply@github.com>2021-10-31 19:14:22 +0100
commite98a36b213173dbae60fd2594412e91404b2cef2 (patch)
tree29e9622d9b7c48c2ca4fbd126feddda490654b32 /ext/fetch/22_http_client.js
parente06515c5a904f92946bf20070a554094336f71ae (diff)
cleanup(ext/fetch): consistent op names (#12612)
Rename `op_create_http_client` to `op_fetch_custom_client` to follow prefix/namespaced convention
Diffstat (limited to 'ext/fetch/22_http_client.js')
-rw-r--r--ext/fetch/22_http_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js
index 592256c71..174612288 100644
--- a/ext/fetch/22_http_client.js
+++ b/ext/fetch/22_http_client.js
@@ -20,7 +20,7 @@
*/
function createHttpClient(options) {
options.caCerts ??= [];
- return new HttpClient(core.opSync("op_create_http_client", options));
+ return new HttpClient(core.opSync("op_fetch_custom_client", options));
}
class HttpClient {