Class yii\httpclient\RequestEvent

Inheritanceyii\httpclient\RequestEvent » yii\base\Event
Available since version2.0.1

RequestEvent represents the event parameter used for an request events.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined 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

$request public property

Related HTTP request instance.

$response public property

Related HTTP response. This field will be filled only in case some response is already received, e.g. after request is sent.