Jaf_Response maintain the request headers & body

class Jaf_Response

 Methods

Dispatch the response.

dispatch() 

Send data to the client

Set the request body

setBody(mixed $data) : \Jaf_Response

Parameters

$data

mixed

Returns

 Properties

 

Response body

$_body : string

 

Uses in header generation while response dispatch

$_contentType : string