1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-19 20:33:03 +00:00

Socket client update, added headers to rest result

This commit is contained in:
Jan Korf
2019-04-30 11:58:39 +02:00
parent c489b4e9aa
commit 9008c4ed2c
16 changed files with 446 additions and 321 deletions
@@ -4,6 +4,6 @@ namespace CryptoExchange.Net.Interfaces
{
public interface IRateLimiter
{
CallResult<double> LimitRequest(string url, RateLimitingBehaviour limitBehaviour);
CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitBehaviour);
}
}
+4 -1
View File
@@ -1,4 +1,6 @@
using System.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace CryptoExchange.Net.Interfaces
@@ -7,6 +9,7 @@ namespace CryptoExchange.Net.Interfaces
{
HttpStatusCode StatusCode { get; }
Stream GetResponseStream();
IEnumerable<Tuple<string, string>> GetResponseHeaders();
void Close();
}
}