From dccf4cbe36d66140f9e35a6ee755c3c440d745f9 Mon Sep 17 00:00:00 2001 From: Sean Michael Wykes Date: Wed, 25 Aug 2021 09:25:12 -0300 Subject: feat(fetch): mTLS client certificates for fetch() (#11721) This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`. --- runtime/build.rs | 1 + runtime/web_worker.rs | 1 + runtime/worker.rs | 1 + 3 files changed, 3 insertions(+) (limited to 'runtime') diff --git a/runtime/build.rs b/runtime/build.rs index daab90215..52933f19b 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -54,6 +54,7 @@ mod not_docs { None, None, None, + None, ), deno_websocket::init::( "".to_owned(), diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index dede48027..ed7b95f5b 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -320,6 +320,7 @@ impl WebWorker { None, None, options.unsafely_ignore_certificate_errors.clone(), + None, ), deno_websocket::init::( options.user_agent.clone(), diff --git a/runtime/worker.rs b/runtime/worker.rs index 979d024d4..92bebe92a 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -108,6 +108,7 @@ impl MainWorker { None, None, options.unsafely_ignore_certificate_errors.clone(), + None, ), deno_websocket::init::( options.user_agent.clone(), -- cgit v1.2.3