Documentation

WorkerPluginTrait

No-op defaults for {@see WorkerPluginInterface}.

Tags
implements

WorkerPluginInterface

Table of Contents

Methods

configureWorker()  : void
configureWorkerFactory()  : void
initializeWorker()  : void
run()  : int
runWorker()  : PromiseInterface

Methods

runWorker()

public runWorker(callable $handler, ServerRequestInterface $request, array<string|int, mixed> $headers, callable $next) : PromiseInterface
Parameters
$handler : callable
$request : ServerRequestInterface
$headers : array<string|int, mixed>
$next : callable
Return values
PromiseInterface

        
On this page

Search results