chore(ext/fetch): custom arity (#14198)

This commit is contained in:
Divy Srivastava 2022-04-23 22:19:06 +05:30 committed by GitHub
parent d2c80aa26f
commit 2eb8c3b82f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 30 deletions

View file

@ -20,7 +20,12 @@
*/
function createHttpClient(options) {
options.caCerts ??= [];
return new HttpClient(core.opSync("op_fetch_custom_client", options));
return new HttpClient(
core.opSync(
"op_fetch_custom_client",
options,
),
);
}
class HttpClient {