Ejemplo n.º 1
0
 /// <summary>
 /// Sends the Bytes Data.
 /// </summary>
 /// <param name="packet">Packet.</param>
 /// <param name="callback">Callback.</param>
 /// <param name="headers">Headers.</param>
 /// <typeparam name="T">The 1st type parameter.</typeparam>
 public void SendBYTE <T>(HTTPPacketRequest packet, System.Action <T> callback = null, IHttpSession.PROCESS_HANDLE process = null) where T : HTTPPacketAck
 {
     HTTPLoader.GoWWW <T>(this.m_strURL + packet.GetAction(), null, packet.ToMsgPacketByte(), this.m_cHeader, onDataError, callback);
 }
Ejemplo n.º 2
0
 public void ReqestGET(HTTPPacketRequest packet, System.Action <string> callback = null, IHttpSession.PROCESS_HANDLE process = null)
 {
     HTTPLoader.GoWWW(this.m_strURL + packet.GetAction() + packet.ToParam(), null, null, this.m_cHeader, onDataError, callback);
 }