This commit is contained in:
as2252258@163.com
2021-09-21 00:45:30 +08:00
parent 404b367cc2
commit b9e0493980
2 changed files with 0 additions and 26 deletions
-22
View File
@@ -49,28 +49,6 @@ abstract class Handler implements RequestHandlerInterface
}
/**
* @param CHl $handler
* @return $this
*/
public function setHandler(CHl $handler): static
{
$this->handler = $handler;
return $this;
}
/**
* @param array|null $middlewares
* @return $this
*/
public function setMiddlewares(?array $middlewares): static
{
$this->middlewares = $middlewares;
return $this;
}
/**
* @param ServerRequestInterface $request
* @return ResponseInterface
-4
View File
@@ -29,10 +29,6 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect
{
#[Inject(Dispatcher::class)]
public Dispatcher $dispatcher;
/**
* @param Server $server
* @param int $fd