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, 17 May 2013

view this page in

HttpMessage::setResponseCode

(PECL pecl_http >= 0.10.0)

HttpMessage::setResponseCodeEstablecer código de respuesta

Descripción

public bool HttpMessage::setResponseCode ( int $code )

Establece el código de respuesta de un mensaje de respuesta HTTP.

Parámetros

code

código de respuesta HTTP

Valores devueltos

En caso de éxito devuelve TRUE, o FALSE si el mensaje no fuera del tipo HttpMessage::TYPE_RESPONSE o si el código de respuesta estuviera fuera de rango (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