Class yii\httpclient\RequestEvent
Inheritance | yii\httpclient\RequestEvent » yii\base\Event |
---|---|
Available since extension's version | 2.0.1 |
Source Code | https://github.com/yiisoft/yii2-httpclient/blob/master/src/RequestEvent.php |
RequestEvent represents the event parameter used for an request events.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$request | yii\httpclient\Request | Related HTTP request instance. | yii\httpclient\RequestEvent |
$response | yii\httpclient\Response|null | Related HTTP response. | yii\httpclient\RequestEvent |
Property Details
Related HTTP request instance.
Related HTTP response. This field will be filled only in case some response is already received, e.g. after request is sent.