Php/docs/solrresponse.gethttpstatus

来自菜鸟教程
跳转至:导航、​搜索

SolrResponse::getHttpStatus

(PECL solr >= 0.9.2)

SolrResponse::getHttpStatusReturns the HTTP status of the response


说明

public SolrResponse::getHttpStatus ( ) : int

Returns the HTTP status of the response.


参数

此函数没有参数。


返回值

Returns the HTTP status of the response.