/// <summary> /// 发送 GET 请求 /// </summary> /// <param name="connId"></param> /// <param name="path"></param> /// <param name="headers"></param> /// <returns></returns> public bool SendGet(IntPtr connId, string path, THeader[] headers) { int headersLength = headers == null ? 0 : headers.Length; return(HttpSdk.HP_HttpAgent_SendGet(pAgent, connId, path, headers, headersLength)); }
/// <summary> /// 发送 GET 请求 /// </summary> /// <param name="connId"></param> /// <param name="path"></param> /// <param name="headers"></param> /// <returns></returns> public bool SendGet(IntPtr connId, string path, THeader[] headers) { return(HttpSdk.HP_HttpAgent_SendGet(pAgent, connId, path, headers, headers.Length)); }