It encapsulates the $_SERVER variable and resolves its inconsistency among different Web servers.
Also it provides an interface to retrieve request parameters from $_POST, $_GET, $_COOKIES and REST
parameters sent via other HTTP methods like PUT or DELETE.
Request is configured as an application component in Application by default.
You can access that instance via Yii::$app->request.