19declare(strict_types=1);
27use Psr\Http\Message\ResponseInterface;
28use Psr\Http\Message\ServerRequestInterface;
61 $response_sender_strategy,
74 return $this->
raw()->sender();
79 return $this->
raw->durations();
84 return $this->
raw->messages();
106 public function request(): ServerRequestInterface
108 return $this->
raw()->request();
118 return $this->
raw()->response();
128 return $this->
raw->cookies();
133 return $this->
raw()->cookieJar();
141 $this->
raw()->saveRequest($request);
149 $this->
raw()->saveResponse($response);
157 $this->
raw()->sendResponse();
162 $this->
raw()->close();
This library is borrowed from the phpGroupWare API http://www.phpgroupware.org/api Modifications made...
Provides an interface to the ILIAS HTTP services.
__construct(RequestFactory $request_factory, ResponseFactory $response_factory, CookieJarFactory $cookie_jar, ResponseSenderStrategy $response_sender_strategy, DurationFactory $duration_factory, CookieFactory $cookie_factory, MessageFactory $message_factory,)
Services constructor.
cookieJar()
Returns a cookie jar which has all cookies known by the ILIAS response.
AgentDetermination $agent
saveResponse(ResponseInterface $response)
@inheritDoc
sendResponse()
@inheritDoc
saveRequest(ServerRequestInterface $request)
@inheritDoc
Interface GlobalHttpState.
Creates psr-7 messages without binding components to the underlying library.
Interface ResponseSenderStrategy.
$request
@ilCtrl_Calls ilObjLearningSequenceContentGUI: ilObjLearningSequenceConditionsGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...