26use Psr\Http\Message\ResponseInterface;
27use Psr\Http\Message\ServerRequestInterface;
73 $this->sender = $senderStrategy;
86 return $this->cookieJarFactory->fromResponse($this->
response());
93 public function request() : \Psr\Http\Message\RequestInterface
96 $this->
request = $this->requestFactory->create();
109 $this->
response = $this->responseFactory->create();
An exception for terminatinating execution or to throw for unit testing.
Provides an interface to the ILIAS HTTP services.
__construct(ResponseSenderStrategy $senderStrategy, CookieJarFactory $cookieJarFactory, RequestFactory $requestFactory, ResponseFactory $responseFactory)
HTTPServices constructor.
sendResponse()
@inheritDoc
saveRequest(ServerRequestInterface $request)
@inheritDoc
saveResponse(ResponseInterface $response)
@inheritDoc
Interface GlobalHttpState.
Interface ResponseSenderStrategy.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...