Yoast\WP\SEO\MyYoast_Client\Infrastructure\Http

HTTP_Client::__construct │ public │ Yoast 1.0

HTTP_Client constructor.

Метод класса: HTTP_Client{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$HTTP_Client = new HTTP_Client();
$HTTP_Client->__construct( $dpop_handler, $expiring_store );
$dpop_handler(DPoP_Handler) (обязательный)
The DPoP handler.
$expiring_store(Expiring_Store) (обязательный)
The expiring store for rate limit tracking.

Код HTTP_Client::__construct() Yoast 28.7

public function __construct( DPoP_Handler $dpop_handler, Expiring_Store $expiring_store ) {
	$this->dpop_handler   = $dpop_handler;
	$this->expiring_store = $expiring_store;
	$this->logger         = new NullLogger();
}