/// <summary> /// 获取 HTTP 状态码 /// </summary> /// <param name="connId"></param> /// <returns></returns> public HttpStatusCode GetStatusCode(IntPtr connId) { // 有没有可能获取到未定义的状态码??? return((HttpStatusCode)HttpSdk.HP_HttpAgent_GetStatusCode(pAgent, connId)); }