php / 8.1.5 / solrresponse.gethttpstatus.html /

SolrResponse::getHttpStatus

(PECL solr >= 0.9.2)

SolrResponse::getHttpStatusReturns the HTTP status of the response

Description

public SolrResponse::getHttpStatus(): int

Returns the HTTP status of the response.

Parameters

This function has no parameters.

Return Values

Returns the HTTP status of the response.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrresponse.gethttpstatus.php