Class bedezign\yii2\audit\panels\CurlPanel
Inheritance | bedezign\yii2\audit\panels\CurlPanel » bedezign\yii2\audit\components\panels\DataStoragePanel » yii\debug\Panel |
---|---|
Uses Traits | bedezign\yii2\audit\components\panels\DataStoragePanelTrait |
Class CurlPanel
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$content | bool | Store the content of the request. | bedezign\yii2\audit\panels\CurlPanel |
$headers | bool | Store the returned headers in text | bedezign\yii2\audit\panels\CurlPanel |
$log | bool | Enable verbose logging on the cURL handle and store the complete connection log | bedezign\yii2\audit\panels\CurlPanel |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
id() | bedezign\yii2\audit\panels\CurlPanel |
Property Details
Store the content of the request. If enabled this will set CURLOPT_RETURNTRANSFER
Store the returned headers in text
Enable verbose logging on the cURL handle and store the complete connection log
Method Details
public int captureHeader ( $handle, $header ) | ||
$handle | ||
$header |
public mixed doRequest ( $handle, $url = null, $postData = null ) | ||
$handle | ||
$url | null | |
$postData | null |
public bool finalizeRequest ( $handle ) | ||
$handle |
public void getDetail ( ) |
public void getLabel ( ) |
public void getName ( ) |
protected bool|mixed id ( $resource ) | ||
$resource |
public void init ( ) |
public void registerAssets ( $view ) | ||
$view |
public void save ( ) |
public bool trackRequest ( $handle, $url = null, $postData = null ) | ||
$handle | ||
$url | null | |
$postData | null |