Function response
Make response even quicker.
Parameters summary
string |
$driver = 'base' |
Possible values are 'base' | 'json' | null |
integer |
$status = 200 |
Your HTTP status code |
mixed |
$body = '' |
Your response body |
array |
$headers = array() |
Index - Value paired array for your header information |
boolean |
$immediatelySend = false |
Choose whether to immediately send the response or not |
Return value summary
mixed
|
mixed |