HttpResponse::setData

(PECL pecl_http >= 0.10.0)

HttpResponse::setDataSet data

說明

static bool HttpResponse::setData ( mixed $data )

Set the data to be sent.

Note: 預先計算過或已定義的 ETagLast-Modified 會被重新計算和重新定義。

參數

data

data to send

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top