HttpRequest
PHP 手册

HttpRequest::getResponseStatus

(PECL pecl_http >= 0.23.0)

HttpRequest::getResponseStatusGet response status

说明

public string HttpRequest::getResponseStatus ( void )

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

返回值

Returns a string containing the response status text.


HttpRequest
PHP 手册