web\Request $isHead

$isHead public read-only property Whether this is a HEAD request. public boolean getIsHead ( )

web\Request $isGet

$isGet public read-only property Whether this is a GET request. public boolean getIsGet ( )

web\Request $isFlash

$isFlash public read-only property Whether this is an Adobe Flash or Adobe Flex request. public boolean getIsFlash ( )

web\Request $isDelete

$isDelete public read-only property Whether this is a DELETE request. public boolean getIsDelete ( )

web\Request $isAjax

$isAjax public read-only property Whether this is an AJAX (XMLHttpRequest) request. public boolean getIsAjax ( )

web\Request $hostName

$hostName public read-only property Hostname part of the request URL (e.g. www.yiiframework.com) public string|null getHostName ( )

web\Request $hostInfo

$hostInfo public property Schema and hostname part (with port number if needed) of the request URL (e.g. http://www.yiiframework.com), null if can't be obtained from $_SERVER and wasn't set. public string|null getHostInfo ( )public void setHostInfo ( $value )

web\Request $headers

$headers public read-only property The header collection public yii\web\HeaderCollection getHeaders ( )

web\Request $eTags

$eTags public read-only property The entity tags public array getETags ( )

web\Request $enableCsrfValidation

$enableCsrfValidation public property Whether to enable CSRF (Cross-Site Request Forgery) validation. Defaults to true. When CSRF validation is enabled, forms submitted to an Yii Web application must be originated from the same application. If not, a 400 HTTP exception will be raised. Note, this feature requires that the user client accepts cookie. Also, to use this feature, forms submitted via POST method must contain a hidden input whose name is specified by $csrfParam. You may use yii\he