ILIAS  release_8 Revision v8.24
class.ilRestServer.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
5
6use Slim\App;
7
13class ilRestServer extends App
14{
18 public function init(): void
19 {
20 $callback_obj = new ilRestFileStorage();
21 $this->get('/fileStorage', array($callback_obj,'getFile'));
22 $this->post('/fileStorage', array($callback_obj,'createFile'));
23 $callback_obj->deleteDeprecated();
24 }
25}
File storage handling.
Slim rest server.
init()
Init server / add handlers.