public static void Setup() { if (IsSetupCalled) { return; } IsSetupCalled = true; IsQuitting = false; HTTPManager.Logger.Information("HTTPManager", "Setup called! UserAgent: " + UserAgent); HTTPUpdateDelegator.CheckInstance(); #if !BESTHTTP_DISABLE_CACHING HTTPCacheService.CheckSetup(); #endif #if !BESTHTTP_DISABLE_COOKIES Cookies.CookieJar.SetupFolder(); Cookies.CookieJar.Load(); #endif #if UNITY_IOS AddBackgroundAudioPlayer(); #endif HostManager.Load(); }
public static void Setup() { HTTPUpdateDelegator.CheckInstance(); #if !BESTHTTP_DISABLE_CACHING && (!UNITY_WEBGL || UNITY_EDITOR) HTTPCacheService.CheckSetup(); #endif #if !BESTHTTP_DISABLE_COOKIES && (!UNITY_WEBGL || UNITY_EDITOR) Cookies.CookieJar.SetupFolder(); #endif }
public static void Setup() { HTTPUpdateDelegator.CheckInstance(); #if !BESTHTTP_DISABLE_CACHING HTTPCacheService.CheckSetup(); #endif #if !BESTHTTP_DISABLE_COOKIES Cookies.CookieJar.SetupFolder(); #endif }
public static void Setup() { HTTPUpdateDelegator.CheckInstance(); HTTPCacheService.CheckSetup(); Cookies.CookieJar.SetupFolder(); }