Spotify.NET/SpotifyAPI.Web/Http/ProxyConfig.cs
2020-05-25 18:00:47 +02:00

21 lines
473 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; }
}
}