Yoast\WP\SEO\MyYoast_Client\Application\Ports

OAuth_Server_Client_Interface::requestpublicYoast 1.0

Sends an HTTP request with optional DPoP proof injection, nonce retry, and rate limit handling.

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

Хуков нет.

Возвращает

HTTP_Response. The parsed response.

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

$OAuth_Server_Client_Interface = new OAuth_Server_Client_Interface();
$OAuth_Server_Client_Interface->request( $method, $url, $options ): HTTP_Response;
$method(строка) (обязательный)
The HTTP method.
$url(строка) (обязательный)
The request URL.
$options(массив)
.
По умолчанию: []

Код OAuth_Server_Client_Interface::request() Yoast 28.3

public function request( string $method, string $url, array $options = [] ): HTTP_Response;