public function ResponseInterface::getStatusCode in Zircon Profile 8
Same name in this branch
- 8 vendor/psr/http-message/src/ResponseInterface.php \Psr\Http\Message\ResponseInterface::getStatusCode()
- 8 vendor/zendframework/zend-feed/src/Reader/Http/ResponseInterface.php \Zend\Feed\Reader\Http\ResponseInterface::getStatusCode()
Same name and namespace in other branches
- 8.0 vendor/psr/http-message/src/ResponseInterface.php \Psr\Http\Message\ResponseInterface::getStatusCode()
Gets the response status code.
The status code is a 3-digit integer result code of the server's attempt to understand and satisfy the request.
Return value
int Status code.
3 methods override ResponseInterface::getStatusCode()
- Response::getStatusCode in vendor/
guzzlehttp/ psr7/ src/ Response.php - Gets the response status code.
- Response::getStatusCode in vendor/
zendframework/ zend-diactoros/ src/ Response.php - Gets the response status code.
- Response::getStatusCode in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Response.php - Gets the response status code.
File
- vendor/
psr/ http-message/ src/ ResponseInterface.php, line 30
Class
- ResponseInterface
- Representation of an outgoing, server-side response.
Namespace
Psr\Http\MessageCode
public function getStatusCode();