Spotify.NET/SpotifyAPI.Web/Http/ProxyConfig.cs
2020-05-12 20:33:25 +02:00

21 lines
471 B
C#

namespace SpotifyAPI.Web
{
public class ProxyConfig : IProxyConfig
{
public ProxyConfig(string host, int port)
{
Ensure.ArgumentNotNullOrEmptyString(host, nameof(host));
Host = host;
Port = port;
}
public string Host { get; }
public int Port { get; }
public string User { get; set; }
public string Password { get; set; }
public bool BypassProxyOnLocal { get; set; }
public bool SkipSSLCheck { get; set; }
}
}