HttpMessage::setResponseStatus

Example

 public bool HttpMessage::setResponseStatus ( string $status ) 

Description

Set the Response Status of the HTTP message (i.e. the string following the response code).

Return Values

Returns TRUE on success or FALSE if the message is not of type HttpMessage::TYPE_RESPONSE.