Navigation
API > API/Runtime > API/Runtime/WebBrowser > API/Runtime/WebBrowser/IWebBrowserCookieManager
References
Module | WebBrowser |
Header | /Engine/Source/Runtime/WebBrowser/Public/IWebBrowserCookieManager.h |
Include | #include "IWebBrowserCookieManager.h" |
void SetCookie
&40;
const FString & URL,
const FCookie & Cookie,
TFunction< void(bool)> Completed
&41;
Remarks
Sets a cookie given a valid URL.
This function expects each attribute to be well-formed. It will check for disallowed characters (e.g. the ';' character is disallowed within the cookie Value field) and fail without setting the cookie if such characters are found.
Parameters
Name | Description |
---|---|
URL | The base URL to match when searching for cookies to remove. Use blank to match all URLs. |
Cookie | The struct defining the state of the cookie to set |
Completed | A callback function that will be invoked asynchronously on the game thread when the set is complete passing success bool. |