dotnet/runtime

Use system proxy configuration on macOS

Open

#24,799 创建于 2018年1月25日

在 GitHub 查看
 (17 评论) (1 反应) (0 负责人)C# (5,445 fork)batch import
area-System.Net.Httpenhancementhelp wantedos-mac-os-x

仓库指标

Star
 (17,886 star)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

MacOS has system proxy configuration similar to Windows. To have better integration with OS it may be handy to use this instead of relying on environment variables.

One different caveat is that the proxy is specific to interfaces we we would need to find active interface first

#networksetup -listnetworkserviceorder
#networksetup -getwebproxy Wi-FI
Enabled: No
Server:
Port: 0
Authenticated Proxy Enabled: 0 

贡献者指南