3 declare(strict_types=1);
    28 if (strtoupper(
$_SERVER[
'REQUEST_METHOD']) == 
'POST') {
    30     $data = $orig->getArrayCopy();
    31 } elseif (strtoupper(
$_SERVER[
'REQUEST_METHOD']) == 
'GET') {
    33     $data = $orig->getArrayCopy();
    37     if (isset(
$_GET[
'client_id'])) {
    38         unset(
$_GET[
'client_id']);
    41     header(
$_SERVER[
"SERVER_PROTOCOL"] . 
" 405 Method Not Allowed", 
true, 405);
    45 require_once(
"Services/Init/classes/class.ilInitialisation.php");
    54     $DIC->http()->saveResponse(
    55         $DIC->http()->response()
    59         $DIC->http()->sendResponse();
    60         $DIC->http()->close();
    61     } 
catch (\
ILIAS\
HTTP\Response\Sender\ResponseSendingException 
$e) {
    62         $DIC->http()->close();
    70 if (count(
$mh) == 2) { 
    84 $DIC->http()->saveResponse(
    85     $DIC->http()->response()
    87     ->withAddedHeader(
'Location', 
$url)
    90     $DIC->http()->sendResponse();
    91     $DIC->http()->close();
    92 } 
catch (\
ILIAS\
HTTP\Response\Sender\ResponseSendingException 
$e) {
    93     $DIC->http()->close();
 if(empty($ltiMessageHint)) $mh
 
Class ChatMainBarProvider . 
 
static initILIAS()
ilias initialisation 
 
static set(string $a_var, $a_val)
Set a value.