/// <summary> /// 添加cookie /// </summary> /// <param name="connId"></param> /// <param name="cookie"></param> /// <param name="relpace">是否替换</param> /// <returns></returns> public bool AddCookie(IntPtr connId, TCookie cookie, bool relpace) { return(HttpSdk.HP_HttpAgent_AddCookie(pAgent, connId, cookie.Name, cookie.Value, relpace)); }
/// <summary> /// 添加cookie /// </summary> /// <param name="connId"></param> /// <param name="cookie"></param> /// <param name="relpace">是否替换</param> /// <returns></returns> public bool AddCookie(TCookie cookie, bool relpace) { return(HttpSdk.HP_HttpClient_AddCookie(pClient, cookie.Name, cookie.Value, relpace)); }