111
This commit is contained in:
@@ -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
|
* @param ServerRequestInterface $request
|
||||||
* @return ResponseInterface
|
* @return ResponseInterface
|
||||||
|
|||||||
@@ -29,10 +29,6 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
#[Inject(Dispatcher::class)]
|
|
||||||
public Dispatcher $dispatcher;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Server $server
|
* @param Server $server
|
||||||
* @param int $fd
|
* @param int $fd
|
||||||
|
|||||||
Reference in New Issue
Block a user