Home > PHP > Function > > HttpMessage::getResponseStatus()

HttpMessage::getResponseStatus()

HttpMessage::getResponseStatus - Get response status

Syntax

public HttpMessage::getResponseStatus ()

Arguments

-

Description

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

Version

PHP PECL pecl_http >= 0.23.0

Return value

Returns the HTTP response status string if the message is of type HttpMessage:: TYPE_RESPONSE, else FALSE.