文字

HttpResponse::getData

(PECL pecl_http >= 0.10.0)

HttpResponse::getDataGet data

说明

static string HttpResponse::getData ( void )

Get the previously set data to be sent.

返回值

Returns a string containing the previously set data to send.

参见

  • HttpResponse::setData() - Set data
  • HttpResponse::getFile() - Get file
  • HttpResponse::setFile() - Set file
  • HttpResponse::getStream() - Get Stream
  • HttpResponse::setStream() - Set stream
上一篇: 下一篇: