1
0
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:
Jan Korf
2019-04-30 11:58:39 +02:00
parent c489b4e9aa
commit 9008c4ed2c
16 changed files with 446 additions and 321 deletions
+9 -1
View File
@@ -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();