Forum und email

HttpMessage::getResponseCode

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::getResponseCode — Get response code

Descrierea

public int HttpMessage::getResponseCode ( void )

Get the Response Code of the Message.

Valorile întroarse

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