web\Response $stream

$stream public property The stream to be sent. This can be a stream handle or an array of stream handle, the begin position and the end position. Note that when this property is set, the $data and $content properties will be ignored by send(). public resource|array $stream = null

web\Response $statusText

$statusText public property The HTTP status description that comes together with the status code. See also $httpStatuses. public string $statusText = 'OK'

web\Response $statusCode

$statusCode public property The HTTP status code to send with the response. public integer getStatusCode ( )public void setStatusCode ( $value, $text = null )

web\Response $isSuccessful

$isSuccessful public read-only property Whether this response is successful public boolean getIsSuccessful ( )

web\Response $isServerError

$isServerError public read-only property Whether this response indicates a server error public boolean getIsServerError ( )

web\Response $isSent

$isSent public property Whether the response has been sent. If this is true, calling send() will do nothing. public boolean $isSent = false

web\Response $isRedirection

$isRedirection public read-only property Whether this response is a redirection public boolean getIsRedirection ( )

web\Response $isOk

$isOk public read-only property Whether this response is OK public boolean getIsOk ( )

web\Response $isNotFound

$isNotFound public read-only property Whether this response indicates the currently requested resource is not found public boolean getIsNotFound ( )

web\Response $isInvalid

$isInvalid public read-only property Whether this response has a valid $statusCode. public boolean getIsInvalid ( )