summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorTomofumi Chiba <tomofumi.chiba@gmail.com>2021-06-22 12:21:57 +0900
committerGitHub <noreply@github.com>2021-06-22 05:21:57 +0200
commit4f1b1903cfadeeba24e1b0448879fe12682effb9 (patch)
tree5adf8bd7af8b86052ef555ca7f6ae221515baec0 /runtime/worker.rs
parent580c9f9ef02f8e8226437137867d3edeb9241b5e (diff)
feat(fetch): add programmatic proxy (#10907)
This commit adds new options to unstable "Deno.createHttpClient" API. "proxy" and "basicAuth" options were added that allow to use custom proxy when client instance is passed to "fetch" API.
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 7bfb1506b..9dfdcc825 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -99,6 +99,7 @@ impl MainWorker {
deno_fetch::init::<Permissions>(
options.user_agent.clone(),
options.ca_data.clone(),
+ None,
),
deno_websocket::init::<Permissions>(
options.user_agent.clone(),