dotnet/runtime

Use system proxy configuration on macOS

Open

#24.799 aberto em 25 de jan. de 2018

Ver no GitHub
 (17 comments) (1 reaction) (0 assignees)C# (5.445 forks)batch import
area-System.Net.Httpenhancementhelp wantedos-mac-os-x

Métricas do repositório

Stars
 (17.886 stars)
Métricas de merge de PR
 (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)

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 

Guia do colaborador