Class yii\httpclient\debug\RequestExecuteAction
Inheritance | yii\httpclient\debug\RequestExecuteAction » yii\base\Action |
---|---|
Available since version | 2.0 |
RequestExecuteAction executes HTTP request and passes its result to the browser.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$panel | yii\httpclient\debug\HttpClientPanel | yii\httpclient\debug\RequestExecuteAction |
Public Methods
Method | Description | Defined By |
---|---|---|
run() | yii\httpclient\debug\RequestExecuteAction |
Protected Methods
Method | Description | Defined By |
---|---|---|
createRequestFromLog() | Creates an HTTP request instance from log entry. | yii\httpclient\debug\RequestExecuteAction |
Property Details
Method Details
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 |
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 |