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

21 lines
473 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; }
2020-05-25 17:00:38 +01:00
public string? User { get; set; }
public string? Password { get; set; }
2020-05-12 19:33:25 +01:00
public bool BypassProxyOnLocal { get; set; }
public bool SkipSSLCheck { get; set; }
}
}