StorageClientSetCookiesAsync Method |
Version 130.1.90
Sets given cookies.
Namespace: CefSharp.DevTools.StorageAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetCookiesAsync(
IList<CookieParam> cookies,
string browserContextId = null
)
public:
Task<DevToolsMethodResponse^>^ SetCookiesAsync(
IList<CookieParam^>^ cookies,
String^ browserContextId = nullptr
)
Parameters
- cookies IListCookieParam
- Cookies to be set.
- browserContextId String (Optional)
- Browser context to use when called on the browser endpoint.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also