header::status

Sends a status header

header::status($code, $send = true)

Parameters

$code (int)
The HTTP status code
$send (boolean)
If set to false the header will be returned instead

Return values

mixed