mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-07 16:06:15 +00:00
Removed invalid check preventing setting a unauthorized proxy
This commit is contained in:
parent
d81b59ffbd
commit
69a618b508
@ -58,9 +58,6 @@ namespace CryptoExchange.Net.Objects
|
||||
/// <param name="password">The proxy password</param>
|
||||
public ApiProxy(string host, int port, string? login, SecureString? password)
|
||||
{
|
||||
if (string.IsNullOrEmpty(login))
|
||||
throw new ArgumentException("Proxy login not provided");
|
||||
|
||||
if (!host.StartsWith("http"))
|
||||
throw new ArgumentException("Proxy host should start with either http:// or https://");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user