class CheckStreamingController implements RequestHandlerInterface

Sends a few events a moment apart, so the admin dashboard can tell whether this server lets a streamed response reach the browser as it's written, or holds it back until it's complete. Only the browser can tell: the server doesn't know what a proxy in front of it does.

Constants

TICKS

TICK_MS

Methods

__construct( EventStream $events)

No description

ResponseInterface
handle( ServerRequestInterface $request)

No description

Details

__construct( EventStream $events)

Parameters

EventStream $events

ResponseInterface handle( ServerRequestInterface $request)

Parameters

ServerRequestInterface $request

Return Value

ResponseInterface