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

search for in the

HttpMessage::setType> <HttpMessage::setResponseCode
[edit] Last updated: Fri, 25 May 2012

view this page in

HttpMessage::setResponseStatus

(PECL pecl_http >= 0.23.0)

HttpMessage::setResponseStatusレスポンスのステータスを設定する

説明

public bool HttpMessage::setResponseStatus ( string $status )

HTTP メッセージのレスポンスステータス (レスポンスコードの後に続く文字列) を設定します。

パラメータ

status

レスポンスステータスを表す文字列。

返り値

成功した場合に TRUE、メッセージの型が HttpMessage::TYPE_RESPONSE でない場合に FALSE を返します。



add a note add a note User Contributed Notes HttpMessage::setResponseStatus
There are no user contributed notes for this page.

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