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 

貢獻者指南