25 lines
448 B
PHP
25 lines
448 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace Builder;
|
|
use Hyperf\HttpServer\Server;
|
|
class RunServer extends Server
|
|
{
|
|
protected ?string $serverName = 'ViewUI';
|
|
|
|
protected $routes;
|
|
|
|
public function onRequest($request, $response): void
|
|
{
|
|
parent::onRequest($request, $response);
|
|
$this->bootstrap();
|
|
}
|
|
|
|
/**
|
|
* RunServer bootstrap
|
|
* @return void
|
|
*/
|
|
protected function bootstrap(): void
|
|
{
|
|
}
|
|
}
|