mini\Dispatcher\HttpDispatcher::emitResponse() Method

private

Signature

private function emitResponse(Psr\Http\Message\ResponseInterface $response): void

Parameters

Name Type Default Description
$response Psr\Http\Message\ResponseInterface required Documentation missing

Returns

void

Documentation

Emit a PSR-7 response to the browser

Sends status code, headers, and body.

Source

src/Dispatcher/HttpDispatcher.php:328-342