class NoProxyPattern (View source)

Tests URLs against no_proxy patterns.

Properties

protected string[] $rules

Methods

__construct(string $pattern)

No description

true
test(string $url)

Test a URL against the stored pattern.

Details

__construct(string $pattern)

Parameters

string $pattern no_proxy pattern

true test(string $url)

Test a URL against the stored pattern.

Parameters

string $url

Return Value

true if the URL matches one of the rules.