diff --git a/src/ModernHttpClient/Facades.cs b/src/ModernHttpClient/Facades.cs index e4437ed..a63e634 100644 --- a/src/ModernHttpClient/Facades.cs +++ b/src/ModernHttpClient/Facades.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using System.Threading; @@ -74,9 +75,12 @@ public void SetCookies(Cookie[] cookies) throw new Exception(wrongVersion); } - public Cookie[] GetCookies() + public ICollection Cookies { - throw new Exception(wrongVersion); + get + { + throw new Exception(wrongVersion); + } } } }