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