titan-II/test/server.php
2021-02-09 16:41:36 -08:00

15 lines
331 B
PHP

<?php
namespace TitanII\Test;
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
use TitanII\Server;
use TitanII\Request;
use TitanII\Response;
$server = new Server();
$server->start(function (Request $request): Response {
return new Response();
});