public static void ClearCookieCache(Uri uri) { bool flag = uri == null; if (flag) { UnityWebRequest.ClearCookieCache(null, null); } else { string host = uri.Host; string text = uri.AbsolutePath; bool flag2 = text == "/"; if (flag2) { text = null; } UnityWebRequest.ClearCookieCache(host, text); } }
public static void ClearCookieCache() { UnityWebRequest.ClearCookieCache(null, null); }