ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ResponseInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Psr\Http\Message;
4 
21 {
30  public function getStatusCode();
31 
52  public function withStatus($code, $reasonPhrase = '');
53 
67  public function getReasonPhrase();
68 }
getReasonPhrase()
Gets the response reason phrase associated with the status code.
HTTP messages consist of requests from a client to a server and responses from a server to a client...
$code
Definition: example_050.php:99
withStatus($code, $reasonPhrase='')
Return an instance with the specified status code and, optionally, reason phrase. ...
getStatusCode()
Gets the response status code.
Representation of an outgoing, server-side response.