HttpResponse::setData
(PECL pecl_http >= 0.10.0)
HttpResponse::setData — Set data
Descrição
Set the data to be sent.
Nota: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.
Parâmetros
-
data -
data to send
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
Veja Também
- HttpResponse::getData() - Get data
- HttpResponse::getFile() - Get file
- HttpResponse::setFile() - Set file
- HttpResponse::getStream() - Get Stream
- HttpResponse::setStream() - Set stream
There are no user contributed notes for this page.
