WordPress\AiClient\Providers\ApiBasedImplementation\Contracts

ApiBasedModelInterface::getRequestOptionspublicWP 0.3.0

Gets the request options for HTTP transport.

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

Хуков нет.

Возвращает

RequestOptions|null. The request options, or null if not set.

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

$ApiBasedModelInterface = new ApiBasedModelInterface();
$ApiBasedModelInterface->getRequestOptions(): ?RequestOptions;

Список изменений

С версии 0.3.0 Введена.

Код ApiBasedModelInterface::getRequestOptions() WP 7.0.4

public function getRequestOptions(): ?RequestOptions;