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