dotnet/runtime

Use system proxy configuration on macOS

Open

#24 799 ouverte le 25 janv. 2018

Voir sur GitHub
 (17 commentaires) (1 réaction) (0 assignés)C# (5 445 forks)batch import
area-System.Net.Httpenhancementhelp wantedos-mac-os-x

Métriques du dépôt

Stars
 (17 886 stars)
Métriques de merge PR
 (Merge moyen 12j 11h) (661 PRs mergées en 30 j)

Description

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 

Guide contributeur