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 

貢獻者指南