mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
chore(ext/fetch): custom arity (#14198)
This commit is contained in:
parent
d2c80aa26f
commit
2eb8c3b82f
4 changed files with 36 additions and 30 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue