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

search for in the

HttpResponse::setGzip> <HttpResponse::setETag
[edit] Last updated: Fri, 17 May 2013

view this page in

HttpResponse::setFile

(PECL pecl_http >= 0.10.0)

HttpResponse::setFileSet file

说明

static bool HttpResponse::setFile ( string $file )

Set the file to be sent.

Note: 预先计算过或已定义的 ETagLast-Modified 会被重新计算和重新定义。

参数

file

the path to the file to send

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE



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

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