去掉ping和單點登錄前端
This commit is contained in:
1 parent
d754ff3b15
commit
492040d382
5 files changed
+48
-44
No files matched your search
@@ -29,13 +29,12 @@ namespace Assets.Scripts.Apis
|
||||
}
|
||||
//protected static EasyHttp.Http.HttpClient http;
|
||||
private static System.Net.Http.HttpClient httpClient;
|
||||
private static PfHttpClientHandler httpClientHandler;
|
||||
private static HttpClientHandler httpClientHandler;
|
||||
static ApiBase()
|
||||
{
|
||||
//http = new EasyHttp.Http.HttpClient();
|
||||
//http.Request.PersistCookies = true;
|
||||
|
||||
httpClientHandler = new PfHttpClientHandler();
|
||||
httpClientHandler = new HttpClientHandler();
|
||||
httpClientHandler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
|
||||
httpClientHandler.Proxy = WebRequest.GetSystemWebProxy();
|
||||
httpClientHandler.CookieContainer = _cookieCollection;
|
||||
|
||||
Reference in new issue
Block a user