phpDocumentor

HttpResponseProcessor
in package
implements HttpResponseProcessorInterface

Class HttpResponseProcessor

Tags
category

System

implements

HttpResponseProcessorInterface

Interfaces, Classes and Traits

HttpResponseProcessorInterface
Interface HttpResponseProcessorInterface

Table of Contents

proceed()  : mixed
Processes the http response object which is returned by a controller action method.
_sendBody()  : mixed
Sends the response body data to the client.
_sendHeaders()  : mixed
Sends the response header data to the client by the given http headers array.

Methods

_sendBody()

Sends the response body data to the client.

protected _sendBody(string $httpBody) : mixed
Parameters
$httpBody : string

Rendered response body.

Return values
mixed

_sendHeaders()

Sends the response header data to the client by the given http headers array.

protected _sendHeaders(array<string|int, mixed> $httpHeadersArrays) : mixed
Parameters
$httpHeadersArrays : array<string|int, mixed>

Array which contains the header items.

Tags
see
header

Function to send headers data.

Return values
mixed

Search results