11 require_once(__DIR__ .
'/../vendor/composer/vendor/autoload.php');
16 $container[
'http.request_factory'] =
static fn(
$c) => new \ILIAS\HTTP\Request\RequestFactoryImpl();
18 $container[
'http.response_factory'] =
static fn(
$c) => new \ILIAS\HTTP\Response\ResponseFactoryImpl();
20 $container[
'http.cookie_jar_factory'] =
static fn(
$c) => new \ILIAS\HTTP\Cookies\CookieJarFactoryImpl();
22 $container[
'http.response_sender_strategy'] =
static fn(
$c) => new \ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy();
24 $container[
'http.duration_factory'] =
static fn(
$c) => new \ILIAS\HTTP\Duration\DurationFactory(
25 new \
ILIAS\
HTTP\Duration\Increment\IncrementFactory()
Interface Observer Contains several chained tasks and infos about them.
static run(Services $httpState, CookieFactory $cookieFactory)