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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user