Spotify.NET/SpotifyAPI.Web/Http/ProxyConfig.cs

21 lines
471 B
C#
Raw Normal View History

2020-05-12 19:33:25 +01:00
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; }
}
}