HttpMessage::setResponseCode
(PECL pecl_http >= 0.10.0)
HttpMessage::setResponseCode — Yanıt kodunu belirler
Açıklama
public
bool HttpMessage::setResponseCode
( int
$kod
)HTTP yanıt iletisinin yanıt kodunu belirler.
Değiştirgeler
-
kod -
HTTP yanıt kodu.
Dönen Değerler
İleti
HttpMessage::<yanıt_türü>
türünde değilse ya da yanıt kodu aralığın (100-510) dışındaysa FALSE,
başarı durumunda ise TRUE döner.
There are no user contributed notes for this page.
