Class bedezign\yii2\audit\panels\CurlPanel

Inheritancebedezign\yii2\audit\panels\CurlPanel » bedezign\yii2\audit\components\panels\DataStoragePanel » yii\debug\Panel
Uses Traitsbedezign\yii2\audit\components\panels\DataStoragePanelTrait

Class CurlPanel

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined 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

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
id() bedezign\yii2\audit\panels\CurlPanel

Property Details

$content public property

Store the content of the request. If enabled this will set CURLOPT_RETURNTRANSFER

public bool $content true
$headers public property

Store the returned headers in text

public bool $headers true
$log public property

Enable verbose logging on the cURL handle and store the complete connection log

public bool $log true

Method Details

captureHeader() public method

public int captureHeader ( $handle, $header )
$handle
$header
doRequest() public method

public mixed doRequest ( $handle, $url null, $postData null )
$handle
$url null
$postData null
finalizeRequest() public method

public bool finalizeRequest ( $handle )
$handle
getDetail() public method

public void getDetail ( )
getLabel() public method

public void getLabel ( )
getName() public method

public void getName ( )
id() protected method

protected bool|mixed id ( $resource )
$resource
init() public method

public void init ( )
registerAssets() public method

public void registerAssets ( $view )
$view
save() public method

public void save ( )
trackRequest() public method

public bool trackRequest ( $handle, $url null, $postData null )
$handle
$url null
$postData null