dotnet/runtime

Use system proxy configuration on macOS

Open

#24,799 opened on 2018年1月25日

GitHub で見る
 (17 comments) (1 reaction) (0 assignees)C# (5,445 forks)batch import
area-System.Net.Httpenhancementhelp wantedos-mac-os-x

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (平均マージ 12d 11h) (30d で 661 merged PRs)

説明

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 

コントリビューターガイド