HeaderSetter

Handles setting HTTP headers.

author

Terence C

Methods

Set HTTP status code.

statusCode(string $protocol, string $code, string $message) : object

Arguments

$protocol

string

$code

string

$message

string

Response

object

Set HTTP header field/value.

headerField(string $field, string $value) : object

Arguments

$field

string

$value

string

Response

object