diff options
author | Tomofumi Chiba <tomofumi.chiba@gmail.com> | 2021-06-22 12:21:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 05:21:57 +0200 |
commit | 4f1b1903cfadeeba24e1b0448879fe12682effb9 (patch) | |
tree | 5adf8bd7af8b86052ef555ca7f6ae221515baec0 /runtime/web_worker.rs | |
parent | 580c9f9ef02f8e8226437137867d3edeb9241b5e (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/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 84d8157d6..753238052 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -257,6 +257,7 @@ impl WebWorker { deno_fetch::init::<Permissions>( options.user_agent.clone(), options.ca_data.clone(), + None, ), deno_websocket::init::<Permissions>( options.user_agent.clone(), |