19 declare(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()
72 ->withStatus($status_code,
$message);
74 if (!is_null($body)) {
79 $this->
http->sendResponse();
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static http()
Fetches the global http state from ILIAS.
static ofString(string $string)
Creates a new stream with an initial value.