HttpMessage
在线手册:中文  英文

HttpMessage::getResponseCode

(PECL pecl_http >= 0.10.0)

HttpMessage::getResponseCodeGet response code

说明

public int HttpMessage::getResponseCode ( void )

Get the Response Code of the Message.

返回值

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


HttpMessage
在线手册:中文  英文
易百教程