php8.5
Home/ Manual/ event / eventdnsbase/ EventDnsBase::setOption

EventDnsBase::setOption

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Set the value of a configuration option

Description

EventDnsBase::setOption(string $option, string $value): bool

Set the value of a configuration option.

Parameters

option

The currently available configuration options are: "ndots", "timeout", "max-timeouts", "max-inflight", and "attempts".

value

Option value.

Return Values

Success

Source: reference/event/eventdnsbase/setoption.xml · from the official PHP manual (php/doc-en)