WordPress\AiClient\Providers\Http\Contracts

WithHttpTransporterInterface::setHttpTransporter │ public │ WP 0.1.0

Sets the HTTP transporter.

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

Хуков нет.

Возвращает

void. Ничего (null).

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

$WithHttpTransporterInterface = new WithHttpTransporterInterface();
$WithHttpTransporterInterface->setHttpTransporter( $transporter ): void;
$transporter(HttpTransporterInterface) (обязательный)
The HTTP transporter instance.

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

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

Код WithHttpTransporterInterface::setHttpTransporter() WP 7.1.2

public function setHttpTransporter(\WordPress\AiClient\Providers\Http\Contracts\HttpTransporterInterface $transporter): void;