HttpResponse::setData
(PECL pecl_http >= 0.10.0)
HttpResponse::setData — Set data
Descrizione
Set the data to be sent.
Nota: ETag e Last-Modified precedentemente calcolati o definiti saranno ricalcolati e ridefiniti.
Elenco dei parametri
-
data -
data to send
Valori restituiti
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Vedere anche:
- 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.
