mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-11 16:32:57 +00:00
Client Configuration (#219)
Added support for IOptions injection, allowing options to be read from IConfiguration Small refactor on client options internals Updated HttpClient to be static field to be
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"ExchangeApiOptions": {
|
||||
"ApiCredentials": {
|
||||
"Key": "APIKEY",
|
||||
"Secret": "SECRET"
|
||||
},
|
||||
"Environment": {
|
||||
"name": "live"
|
||||
},
|
||||
"Rest":{
|
||||
"RequestTimeout": "00:00:20",
|
||||
"CachingEnabled": true,
|
||||
"OutputOriginalData": true,
|
||||
"Proxy": {
|
||||
"Host": "https://127.0.0.1",
|
||||
"Port": 8080,
|
||||
"Login": "User",
|
||||
"Password": "Pass"
|
||||
}
|
||||
},
|
||||
"Socket":{
|
||||
"RequestTimeout": "00:00:05",
|
||||
"SocketSubscriptionsCombineTarget": 15
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user