mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 00:16:26 +00:00
21 lines
473 B
C#
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; }
|
|
}
|
|
}
|