Yoast\WP\SEO\MyYoast_Client\Application\Ports
OAuth_Server_Client_Interface::request
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() OAuth Server Client Interface::request Yoast 28.3
public function request( string $method, string $url, array $options = [] ): HTTP_Response;