WordPress\AiClient\Providers\Http\DTO

RequestOptions::getConnectTimeoutpublicWP 0.2.0

Gets the connection timeout in seconds.

Method of the class: RequestOptions{}

No Hooks.

Returns

float|null. Connection timeout in seconds.

Usage

$RequestOptions = new RequestOptions();
$RequestOptions->getConnectTimeout(): ?float;

Changelog

Since 0.2.0 Introduced.

RequestOptions::getConnectTimeout() code WP 7.0

public function getConnectTimeout(): ?float
{
    return $this->connectTimeout;
}