Skip to content

Commit

Permalink
chore: apply the specified system wide Http proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ArachisH committed Mar 31, 2024
1 parent 55249d3 commit 567099c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public EavesdropInterceptionService(ILogger<EavesdropInterceptionService> logger
SingleWriter = true
});

Eavesdropper.Proxy = _options.HttpSystemProxy.GetProxy();
Eavesdropper.Targets.AddRange(_options.ProxyOverrides);

Eavesdropper.RequestInterceptedAsync += WebRequestInterceptedAsync;
Eavesdropper.ResponseInterceptedAsync += WebResponseInterceptedAsync;
Eavesdropper.Certifier = new Certifier("Tanji", "Tanji Root Certificate Authority");
Expand Down

0 comments on commit 567099c

Please sign in to comment.