effect-io-ai

Package: @effect/platform
Module: HttpClient

HttpClient.followRedirects

Follows HTTP redirects up to a specified number of times.

Signature

declare const followRedirects: { (maxRedirects?: number | undefined): <E, R>(self: HttpClient.With<E, R>) => HttpClient.With<E, R>; <E, R>(self: HttpClient.With<E, R>, maxRedirects?: number | undefined): HttpClient.With<E, R>; }

Source

Since v1.0.0