Method GetAllCookies
- Namespace
- DotNetBrowser.Cookies
- Assembly
- DotNetBrowser.dll
GetAllCookies(string)
Returns all the cookies for given url including HTTP only cookies.
Task<IEnumerable<Cookie>> GetAllCookies(string url = null)
Parameters
url
stringThe URL associated with the returned cookies.
Returns
- Task<IEnumerable<Cookie>>
The collection of all the cookies or an empty collection when there's no cookies.
Exceptions
- ObjectDisposedException
The ICookieStore has already been disposed.