PHP Manual

  • English French German Portuguese Spanish
PHP-Handbuch Funktionsreferenz Sonstige Dienste HTTP HttpMessage HttpMessage::getResponseCode
HttpMessage HttpMessage::addHeaders HttpMessage::__construct HttpMessage::detach HttpMessage::factory HttpMessage::fromEnv HttpMessage::fromString HttpMessage::getBody HttpMessage::getHeader HttpMessage::getHeaders HttpMessage::getHttpVersion HttpMessage::getParentMessage HttpMessage::getRequestMethod HttpMessage::getRequestUrl HttpMessage::getResponseCode HttpMessage::getResponseStatus HttpMessage::getType HttpMessage::guessContentType HttpMessage::prepend HttpMessage::reverse HttpMessage::send HttpMessage::setBody HttpMessage::setHeaders HttpMessage::setHttpVersion HttpMessage::setRequestMethod HttpMessage::setRequestUrl HttpMessage::setResponseCode HttpMessage::setResponseStatus HttpMessage::setType HttpMessage::toMessageTypeObject HttpMessage::toString
  • HttpMessage::getRequestUrl
  • HttpMessage::getResponseStatus

HttpMessage::getResponseCode

(PECL pecl_http >= 0.10.0)

HttpMessage::getResponseCode — Get response code

Beschreibung

public int HttpMessage::getResponseCode ( void )

Get the Response Code of the Message.

Rückgabewerte

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

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.