ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ResponseInterface.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Psr\Http\Message
;
4
20
interface
ResponseInterface
extends
MessageInterface
21
{
30
public
function
getStatusCode
();
31
52
public
function
withStatus
(
$code
, $reasonPhrase =
''
);
53
67
public
function
getReasonPhrase
();
68
}
Psr\Http\Message
Definition:
RequestFactoryInterface.php:3
Psr\Http\Message\ResponseInterface\getReasonPhrase
getReasonPhrase()
Gets the response reason phrase associated with the status code.
Psr\Http\Message\MessageInterface
HTTP messages consist of requests from a client to a server and responses from a server to a client...
Definition:
MessageInterface.php:17
$code
$code
Definition:
example_050.php:99
Psr\Http\Message\ResponseInterface\withStatus
withStatus($code, $reasonPhrase='')
Return an instance with the specified status code and, optionally, reason phrase. ...
Psr\Http\Message\ResponseInterface\getStatusCode
getStatusCode()
Gets the response status code.
Psr\Http\Message\ResponseInterface
Representation of an outgoing, server-side response.
Definition:
ResponseInterface.php:20
php
libs
composer
vendor
psr
http-message
src
ResponseInterface.php
Generated on Thu Jan 16 2025 19:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)