ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.