mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-08 04:11:10 +00:00
Socket client update, added headers to rest result
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using System.IO;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using CryptoExchange.Net.Interfaces;
|
||||
|
||||
@@ -20,6 +23,11 @@ namespace CryptoExchange.Net.Requests
|
||||
return response.GetResponseStream();
|
||||
}
|
||||
|
||||
public IEnumerable<Tuple<string, string>> GetResponseHeaders()
|
||||
{
|
||||
return response.Headers.ToIEnumerable();
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
response.Close();
|
||||
|
||||
Reference in New Issue
Block a user