QuickBlox经过一段时间后Sender成为接收者,接收者成为Sender

时间:2013-10-05 06:12:19

标签: ios quickblox

我正在使用QuickBlox Simple Chat来了解它是如何工作的。

在demo ex.2中,用户首先是USER1,其他是USER2。

一段时间后,USER1消息显示在表中,其中USER2消息和USER2消息的一面显示在USER1消息的一侧。

像这样获得对服务器的响应

Request finished, response: 
RestResponse:
------
<QBASIHTTPRequest: 0xa288c00>
headers:{
    "Access-Control-Allow-Origin" = "*";
    "Cache-Control" = "no-cache";
    Connection = Close;
    "Content-Length" = 106;
    "Content-Type" = "application/xml; charset=utf-8";
    Date = "Sat, 05 Oct 2013 05:54:05 GMT";
    "QB-Token-ExpirationDate" = "2013-10-05 07:53:46 UTC";
    "QuickBlox-REST-API-Version" = "0.1.1";
    Server = "nginx/1.0.15";
    Status = "422 Unprocessable Entity";
    "X-Rack-Cache" = "invalidate, pass";
    "X-Request-Id" = c70e07ac0a8571253773cde59c23676c;
    "X-Runtime" = "0.223264";
    "X-UA-Compatible" = "IE=Edge,chrome=1";
}
body:<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>No one can receive the message</error>
</errors>

error:

0 个答案:

没有答案
相关问题