1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-11 16:32:57 +00:00

removed invalid check on proxy

This commit is contained in:
JKorf
2020-03-03 09:24:00 +01:00
parent a1dd3b5b9b
commit ecb4868620
+1 -7
View File
@@ -1,5 +1,4 @@
using System;
using System.Security;
using System.Security;
namespace CryptoExchange.Net.Objects
{
@@ -36,7 +35,6 @@ namespace CryptoExchange.Net.Objects
{
}
/// <inheritdoc />
/// <summary>
/// Create new settings for a proxy
/// </summary>
@@ -48,7 +46,6 @@ namespace CryptoExchange.Net.Objects
{
}
/// <inheritdoc />
/// <summary>
/// Create new settings for a proxy
/// </summary>
@@ -58,9 +55,6 @@ namespace CryptoExchange.Net.Objects
/// <param name="password">The proxy password</param>
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;