mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-06 23:46:12 +00:00
Fix exception when creating rest client for mono runtime
This commit is contained in:
parent
29b0875960
commit
1a49fc8251
@ -46,6 +46,7 @@ namespace CryptoExchange.Net.Requests
|
||||
handler.DefaultProxyCredentials = CredentialCache.DefaultCredentials;
|
||||
}
|
||||
catch (PlatformNotSupportedException) { }
|
||||
catch (NotImplementedException) { } // Mono runtime throws NotImplementedException
|
||||
|
||||
if (proxy != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user