Wrapper for HTTP responses

package midcom

 Methods

__get ($name)

Parameters

$name

__set ($name, $value)

Parameters

$name

$value

send ()

Sends the response to the client and shuts down the environment

set_data ($data)

Parameters

$data

 Properties

 

int $code

Response code to use
 

string $encoding

Character encoding to use
todo determine on the fly?
 

array $_data

The data to be transmitted