Sets the request options for HTTP transport.
Parameters
$requestOptionsWordPressAiClientProvidersHttpDTORequestOptionsrequired- The request options.
Source
public function usingRequestOptions(RequestOptions $requestOptions): self
{
$this->requestOptions = $requestOptions;
return $this;
}
Changelog
| Version | Description |
|---|---|
| 0.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.