ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
GlobalHttpState.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 2016 Fabian Schmid <fs@studer-raimann.ch> Extended GPL, see docs/LICENSE */
3
4namespace ILIAS\HTTP;
5
10
25{
26
32 public function request();
33
34
40 public function response();
41
42
50 public function cookieJar();
51
52
63
64
73
74
81 public function sendResponse();
82}
foreach($paths as $path) $request
Definition: asyncclient.php:32
An exception for terminatinating execution or to throw for unit testing.
Interface GlobalHttpState.
saveRequest(ServerRequestInterface $request)
Saves the given request for further use.
saveResponse(ResponseInterface $response)
Saves the given response for further use.
sendResponse()
Render the current response hold by ILIAS.
request()
Returns the current psr-7 server request.
cookieJar()
Returns a cookie jar which has all cookies known by the ILIAS response.
response()
Returns the current psr-7 response.
Representation of an outgoing, server-side response.
Representation of an incoming, server-side HTTP request.
$response