iQQ.Net.WebQQCore.Im.Http.QQHttpResponse.GetResponseString C# (CSharp) Method

GetResponseString() public method

返回回复内容编码为utf8的字符串
public GetResponseString ( ) : string
return string
        public string GetResponseString()
        {
            return ResponseString;
        }

Usage Example

Ejemplo n.º 1
0
 public override void OnHttpStatusOK(QQHttpResponse response)
 {
     JObject json = JObject.Parse(response.GetResponseString());
     if (json["retcode"].ToString() == "0")
     {
         NotifyActionEvent(QQActionEventType.EVT_OK, json);
     }
     else
     {
         NotifyActionEvent(QQActionEventType.EVT_ERROR,
             new QQException(QQErrorCode.UNEXPECTED_RESPONSE, response.GetResponseString()));
     }
 }
All Usage Examples Of iQQ.Net.WebQQCore.Im.Http.QQHttpResponse::GetResponseString