PHP 클래스 EricMakesStuff\ServerMonitor\Monitors\HttpPingMonitor

상속: extends BaseMonitor
파일 보기 프로젝트 열기: ericmakesstuff/laravel-server-monitor 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowRedirects boolean
$checkPhrase boolean | string
$responseCode integer
$responseContainsPhrase boolean
$responseContent string
$timeout integer
$url string

공개 메소드들

메소드 설명
__construct ( array $config )
getCheckPhrase ( )
getResponseCode ( )
getResponseContainsPhrase ( )
getResponseContent ( )
getUrl ( )
runMonitor ( )

보호된 메소드들

메소드 설명
checkResponseContains ( $html, $phrase )

메소드 상세

__construct() 공개 메소드

public __construct ( array $config )
$config array

checkResponseContains() 보호된 메소드

protected checkResponseContains ( $html, $phrase )

getCheckPhrase() 공개 메소드

public getCheckPhrase ( )

getResponseCode() 공개 메소드

public getResponseCode ( )

getResponseContainsPhrase() 공개 메소드

getResponseContent() 공개 메소드

public getResponseContent ( )

getUrl() 공개 메소드

public getUrl ( )

runMonitor() 공개 메소드

public runMonitor ( )

프로퍼티 상세

$allowRedirects 보호되어 있는 프로퍼티

protected bool $allowRedirects
리턴 boolean

$checkPhrase 보호되어 있는 프로퍼티

protected bool|string $checkPhrase
리턴 boolean | string

$responseCode 보호되어 있는 프로퍼티

protected int $responseCode
리턴 integer

$responseContainsPhrase 보호되어 있는 프로퍼티

protected bool $responseContainsPhrase
리턴 boolean

$responseContent 보호되어 있는 프로퍼티

protected string $responseContent
리턴 string

$timeout 보호되어 있는 프로퍼티

protected int $timeout
리턴 integer

$url 보호되어 있는 프로퍼티

protected string $url
리턴 string