using System;
namespace CryptoExchange.Net
{
public class ApiProxy
{
///
/// The host address of the proxy
///
public string Host { get; }
///
/// The port of the proxy
///
public int Port { get; }
public ApiProxy(string host, int port)
{
if(string.IsNullOrEmpty(host) || port <= 0)
throw new ArgumentException("Proxy host or port not filled");
Host = host;
Port = port;
}
}
}