HttpResponse::setData
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setData — Set data
Popis
static
bool HttpResponse::setData
( mixed $data
)
Set the data to be sent.
Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.
Parametre
- data
-
data to send
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.