12use Psr\Http\Message\ResponseInterface;
13use Psr\Http\Message\ServerRequestInterface;
59 $this->sender = $senderStrategy;
72 return $this->cookieJarFactory->fromResponse($this->
response());
79 public function request() : \Psr\Http\Message\RequestInterface
82 $this->
request = $this->requestFactory->create();
95 $this->
response = $this->responseFactory->create();
125 $this->sender->sendResponse($this->
response());
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.