WordPress\AiClient\Providers\Http\DTO
RequestOptions::getMaxRedirects
Gets the maximum number of redirects to follow.
Метод класса: RequestOptions{}
Хуков нет.
Возвращает
int|null. Maximum redirects or null when not specified.
Использование
$RequestOptions = new RequestOptions(); $RequestOptions->getMaxRedirects(): ?int;
Список изменений
| С версии 0.2.0 | Введена. |
Код RequestOptions::getMaxRedirects() RequestOptions::getMaxRedirects WP 7.1.4
public function getMaxRedirects(): ?int
{
return $this->maxRedirects;
}