28use Psr\Http\Message\ResponseInterface;
29use Psr\Http\Message\ServerRequestInterface;
38 private ?ServerRequestInterface
$request =
null;
54 return $this->durationFactory;
68 return $this->cookieJarFactory->fromResponse($this->
response());
75 public function request(): ServerRequestInterface
78 $this->
request = $this->requestFactory->create();
91 $this->
response = $this->responseFactory->create();
123 $response = $this->
cookieJar()->renderIntoResponseHeader($response);
Provides an interface to the ILIAS HTTP services.
saveResponse(ResponseInterface $response)
@inheritDoc
ServerRequestInterface $request
__construct(private ResponseSenderStrategy $sender, private CookieJarFactory $cookieJarFactory, private RequestFactory $requestFactory, private ResponseFactory $responseFactory, private DurationFactory $durationFactory)
RawHTTPServices constructor.
ResponseInterface $response
saveRequest(ServerRequestInterface $request)
@inheritDoc
sendResponse()
@inheritDoc
Interface GlobalHttpState.
Interface ResponseSenderStrategy.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...