WordPress\AiClient\Providers\Http\Contracts
WithHttpTransporterInterface::setHttpTransporter
Sets the HTTP transporter.
Method of the class: WithHttpTransporterInterface{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WithHttpTransporterInterface = new WithHttpTransporterInterface(); $WithHttpTransporterInterface->setHttpTransporter( $transporter ): void;
- $transporter(HttpTransporterInterface) (required)
- The HTTP transporter instance.
Changelog
| Since 0.1.0 | Introduced. |
WithHttpTransporterInterface::setHttpTransporter() WithHttpTransporterInterface::setHttpTransporter code WP 7.0
public function setHttpTransporter(\WordPress\AiClient\Providers\Http\Contracts\HttpTransporterInterface $transporter): void;