web\Response clear()

clear() public method Clears the headers, cookies, content, status code of the response. public void clear ( )

web\Response $isSuccessful

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

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 $isServerError

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

web\Response $isOk

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

web\Response $isRedirection

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

web\Response $isNotFound

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

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 $isForbidden

$isForbidden public read-only property Whether this response indicates the current request is forbidden public boolean getIsForbidden ( )