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

search for in the

HttpMessage::setResponseStatus> <HttpMessage::setRequestUrl
[edit] Last updated: Fri, 24 Jun 2011

view this page in

HttpMessage::setResponseCode

(PECL pecl_http >= 0.10.0)

HttpMessage::setResponseCodeتعیین کد واکنش

Description

public bool HttpMessage::setResponseCode ( int $code )

تعیین کد واکنش پیام پاسخ HTTP.

Parameters

code

کد واکنش HTTP

Return Values

بازگرداندن TRUE در صورت موفقیت یا FALSE اگر پیام از نوع HttpMessage::TYPE_RESPONSE نباشد یا کد واکنش خارج از بازه مورد نظر (100-510) باشد.



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

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