WordPress\AiClient\Providers\ApiBasedImplementation\Contracts

ApiBasedModelInterface::getRequestOptionspublicWP 0.3.0

Gets the request options for HTTP transport.

Method of the class: ApiBasedModelInterface{}

No Hooks.

Returns

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

Usage

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

Changelog

Since 0.3.0 Introduced.

ApiBasedModelInterface::getRequestOptions() code WP 7.0

public function getRequestOptions(): ?RequestOptions;