namespace CryptoExchange.Net.Objects;
///
/// Proxy info
///
public class ApiProxy
{
///
/// The host address of the proxy
///
public string Host { get; set; }
///
/// The port of the proxy
///
public int Port { get; set; }
///
/// The login of the proxy
///
public string? Login { get; set; }
///
/// The password of the proxy
///
public string? Password { get; set; }
///
/// Create new settings for a proxy
///
/// The proxy hostname/ip
/// The proxy port
/// The proxy login
/// The proxy password
public ApiProxy(string host, int port, string? login = null, string? password = null)
{
Host = host;
Port = port;
Login = login;
Password = password;
}
}