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