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

HttpRequest::getResponseStatus()

HttpRequest::getResponseStatus - Get response status

Syntax

public HttpRequest::getResponseStatus ()

Arguments

-

Description

Get the response status (i.e. the string after the response code) after the message has been sent.

Version

PHP PECL pecl_http >= 0.23.0

Return value

Returns a string containing the response status text.