PHP Class EricMakesStuff\ServerMonitor\Monitors\HttpPingMonitor

Inheritance: extends BaseMonitor
Afficher le fichier Open project: ericmakesstuff/laravel-server-monitor Class Usage Examples

Protected Properties

Свойство Type Description
$allowRedirects boolean
$checkPhrase boolean | string
$responseCode integer
$responseContainsPhrase boolean
$responseContent string
$timeout integer
$url string

Méthodes publiques

Méthode Description
__construct ( array $config )
getCheckPhrase ( )
getResponseCode ( )
getResponseContainsPhrase ( )
getResponseContent ( )
getUrl ( )
runMonitor ( )

Méthodes protégées

Méthode Description
checkResponseContains ( $html, $phrase )

Method Details

__construct() public méthode

public __construct ( array $config )
$config array

checkResponseContains() protected méthode

protected checkResponseContains ( $html, $phrase )

getCheckPhrase() public méthode

public getCheckPhrase ( )

getResponseCode() public méthode

public getResponseCode ( )

getResponseContainsPhrase() public méthode

getResponseContent() public méthode

public getResponseContent ( )

getUrl() public méthode

public getUrl ( )

runMonitor() public méthode

public runMonitor ( )

Property Details

$allowRedirects protected_oe property

protected bool $allowRedirects
Résultat boolean

$checkPhrase protected_oe property

protected bool|string $checkPhrase
Résultat boolean | string

$responseCode protected_oe property

protected int $responseCode
Résultat integer

$responseContainsPhrase protected_oe property

protected bool $responseContainsPhrase
Résultat boolean

$responseContent protected_oe property

protected string $responseContent
Résultat string

$timeout protected_oe property

protected int $timeout
Résultat integer

$url protected_oe property

protected string $url
Résultat string