Skip to main content

RequestHandlerResponse


RequestHandlerResponse

Properties

payload

public string|null $payload

Methods

__construct

public __construct(int $status, string $message, array $headers, string|null $payload): mixed

Parameters:

ParameterTypeDescription
$statusint
$messagestring
$headersarray
$payloadstring|null

Inherited methods

__invoke

public __invoke(int $status, string $message, array<string,string> $headers): void

Parameters:

ParameterTypeDescription
$statusint
$messagestring
$headersarray<string,string>


Automatically generated on 2024-11-05