mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-09 00:46:19 +00:00
removed invalid check on proxy
This commit is contained in:
parent
a1dd3b5b9b
commit
ecb4868620
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user