downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpResponse::setETag> <HttpResponse::setContentType
[edit] Last updated: Fri, 24 May 2013

view this page in

HttpResponse::setData

(PECL pecl_http >= 0.10.0)

HttpResponse::setDataデータを設定する

説明

static bool HttpResponse::setData ( mixed $data )

送信されるデータを設定します。

注意: 以前に計算したり定義したりしていた ETagLast-Modified は、再計算/再定義されます。

パラメータ

data

送信するデータ。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考



add a note add a note User Contributed Notes HttpResponse::setData - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites