diff --git a/CryptoExchange.Net/Objects/ApiProxy.cs b/CryptoExchange.Net/Objects/ApiProxy.cs index bbbd65e..1e75156 100644 --- a/CryptoExchange.Net/Objects/ApiProxy.cs +++ b/CryptoExchange.Net/Objects/ApiProxy.cs @@ -1,5 +1,4 @@ -using System; -using System.Security; +using System.Security; namespace CryptoExchange.Net.Objects { @@ -36,7 +35,6 @@ namespace CryptoExchange.Net.Objects { } - /// /// /// Create new settings for a proxy /// @@ -48,7 +46,6 @@ namespace CryptoExchange.Net.Objects { } - /// /// /// Create new settings for a proxy /// @@ -58,9 +55,6 @@ namespace CryptoExchange.Net.Objects /// The proxy password public ApiProxy(string host, int port, string? login, SecureString? password) { - if (!host.StartsWith("http")) - throw new ArgumentException("Proxy host should start with either http:// or https://"); - Host = host; Port = port; Login = login;