public static void SetCookie(string url, Cookie cookie) { LockHttpClientFactory.SetCookie(url, cookie); }
/// <summary> /// 设置Cookie /// </summary> /// <param name="url"></param> /// <param name="item">Http参数</param> public static void SetCookie(string url, IDictionary <string, Cookie> item) { LockHttpClientFactory.SetCookie(url, item); }