/// <summary> /// 发送 WSMessage 请求 /// </summary> /// <param name="dwConnID"></param> /// <param name="bFinal"></param> /// <param name="iReserved"></param> /// <param name="iOperationCode"></param> /// <param name="lpszMask"></param> /// <param name="Data"></param> /// <param name="ullBodyLen"></param> /// <returns></returns> public bool SendWSMessage(IntPtr dwConnID, bool bFinal, byte iReserved, byte iOperationCode, byte[] lpszMask, byte[] pData, ulong ullBodyLen) { return(HttpSdk.HP_HttpAgent_SendWSMessage(pAgent, dwConnID, bFinal, iReserved, iOperationCode, lpszMask, pData, pData.Length, ullBodyLen)); }