dotnet/runtime

Use system proxy configuration on macOS

开放

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

 (17 条评论) (1 个反应) (0 位负责人)C# (5,445 个派生)batch import
area-System.Net.Httpenhancementhelp wantedos-mac-os-x

仓库指标

星标
 (17,886 个星标)
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 

贡献者指南