VarnishTable of Contents
The VarnishAdmin classIntroduction
Class synopsisVarnishAdmin
class VarnishAdmin
{
/* Methods */
public bool auth
( void
)
public int ban
( string
$vcl_regex
)
public int banUrl
( string
$vcl_regex
)
public int clearPanic
( void
)
public bool connect
( void
)
public __construct
([ array
$args
] )
public bool disconnect
( void
)
public string getPanic
( void
)
public array getParams
( void
)
public bool isRunning
( void
)
public void setCompat
( int
$compat
)
public void setHost
( string
$host
)
public void setIdent
( string
$ident
)
public int setParam
( string
$name
, string|integer $value
)
public void setPort
( int
$port
)
public void setSecret
( string
$secret
)
public void setTimeout
( int
$timeout
)
public int start
( void
)
public int stop
( void
)
}The VarnishStat classIntroduction
Class synopsisVarnishStat
class VarnishStat
{
/* Methods */
public __construct
([ array
$args
] )
public array getSnapshot
( void
)
}The VarnishLog classIntroduction
Class synopsisVarnishLog
class VarnishLog
{
/* Constants */
const
integer
VarnishLog::TAG_Debug
= 0
;
const
integer
VarnishLog::TAG_Error
= 1
;
const
integer
VarnishLog::TAG_CLI
= 2
;
const
integer
VarnishLog::TAG_StatSess
= 3
;
const
integer
VarnishLog::TAG_ReqEnd
= 4
;
const
integer
VarnishLog::TAG_SessionOpen
= 5
;
const
integer
VarnishLog::TAG_SessionClose
= 6
;
const
integer
VarnishLog::TAG_BackendOpen
= 7
;
const
integer
VarnishLog::TAG_BackendXID
= 8
;
const
integer
VarnishLog::TAG_BackendReuse
= 9
;
const
integer
VarnishLog::TAG_BackendClose
= 10
;
const
integer
VarnishLog::TAG_HttpGarbage
= 11
;
const
integer
VarnishLog::TAG_Backend
= 12
;
const
integer
VarnishLog::TAG_Length
= 13
;
const
integer
VarnishLog::TAG_FetchError
= 14
;
const
integer
VarnishLog::TAG_RxRequest
= 15
;
const
integer
VarnishLog::TAG_RxResponse
= 16
;
const
integer
VarnishLog::TAG_RxStatus
= 17
;
const
integer
VarnishLog::TAG_RxURL
= 18
;
const
integer
VarnishLog::TAG_RxProtocol
= 19
;
const
integer
VarnishLog::TAG_RxHeader
= 20
;
const
integer
VarnishLog::TAG_TxRequest
= 21
;
const
integer
VarnishLog::TAG_TxResponse
= 22
;
const
integer
VarnishLog::TAG_TxStatus
= 23
;
const
integer
VarnishLog::TAG_TxURL
= 24
;
const
integer
VarnishLog::TAG_TxProtocol
= 25
;
const
integer
VarnishLog::TAG_TxHeader
= 26
;
const
integer
VarnishLog::TAG_ObjRequest
= 27
;
const
integer
VarnishLog::TAG_ObjResponse
= 28
;
const
integer
VarnishLog::TAG_ObjStatus
= 29
;
const
integer
VarnishLog::TAG_ObjURL
= 30
;
const
integer
VarnishLog::TAG_ObjProtocol
= 31
;
const
integer
VarnishLog::TAG_ObjHeader
= 32
;
const
integer
VarnishLog::TAG_LostHeader
= 33
;
const
integer
VarnishLog::TAG_TTL
= 34
;
const
integer
VarnishLog::TAG_Fetch_Body
= 35
;
const
integer
VarnishLog::TAG_VCL_acl
= 36
;
const
integer
VarnishLog::TAG_VCL_call
= 37
;
const
integer
VarnishLog::TAG_VCL_trace
= 38
;
const
integer
VarnishLog::TAG_VCL_return
= 39
;
const
integer
VarnishLog::TAG_VCL_error
= 40
;
const
integer
VarnishLog::TAG_ReqStart
= 41
;
const
integer
VarnishLog::TAG_Hit
= 42
;
const
integer
VarnishLog::TAG_HitPass
= 43
;
const
integer
VarnishLog::TAG_ExpBan
= 44
;
const
integer
VarnishLog::TAG_ExpKill
= 45
;
const
integer
VarnishLog::TAG_WorkThread
= 46
;
const
integer
VarnishLog::TAG_ESI_xmlerror
= 47
;
const
integer
VarnishLog::TAG_Hash
= 48
;
const
integer
VarnishLog::TAG_Backend_health
= 49
;
const
integer
VarnishLog::TAG_VCL_Log
= 50
;
const
integer
VarnishLog::TAG_Gzip
= 51
;
/* Methods */
public __construct
([ array
$args
] )
public array getLine
( void
)
public static string getTagName
( int
}$index
)Predefined Constants
|