19declare(strict_types=1);
44 return $this->
http->wrapper()->query()->has($argument->value) ||
45 $this->
http->wrapper()->post()->has($argument->value);
50 if ($this->
http->wrapper()->query()->has($argument->value)) {
51 return $this->
http->wrapper()->query()->retrieve(
53 $this->refinery->kindlyTo()->string()
56 if ($this->
http->wrapper()->post()->has($argument->value)) {
57 return $this->
http->wrapper()->post()->retrieve(
59 $this->refinery->kindlyTo()->string()
68 ?\DOMDocument $body =
null
72 ->withStatus($status_code,
$message);
74 if (!is_null($body)) {
79 $this->
http->sendResponse();
Stream factory which enables the user to create streams without the knowledge of the concrete class.
static ofString(string $string)
Creates a new stream with an initial value.
Interface GlobalHttpState.
static http()
Fetches the global http state from ILIAS.