Class yii\httpclient\debug\RequestExecuteAction

Inheritanceyii\httpclient\debug\RequestExecuteAction » yii\base\Action
Available since version2.0

RequestExecuteAction executes HTTP request and passes its result to the browser.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
run() yii\httpclient\debug\RequestExecuteAction

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createRequestFromLog() Creates an HTTP request instance from log entry. yii\httpclient\debug\RequestExecuteAction

Property Details

$panel public property

Method Details

createRequestFromLog() protected method

Creates an HTTP request instance from log entry.

protected yii\httpclient\Request createRequestFromLog ( $requestLog )
$requestLog string

HTTP request log entry

return yii\httpclient\Request

Request instance.

throws \yii\base\InvalidConfigException
run() public method

public \yii\web\Response run ( $seq, $tag, $passthru false )
$seq string
$tag string
$passthru boolean

Whether to send response to the browser or render it as plain text

throws \yii\web\HttpException
throws \yii\base\InvalidConfigException
throws yii\httpclient\Exception