Table of Contents

Enum HtmxRequestRedirect

Namespace
Ramstack.HtmxToolkit
Assembly
Ramstack.HtmxToolkit.dll

Specifies the Fetch redirect mode for an HTMX request.

public enum HtmxRequestRedirect

Fields

Follow = 0

Follows redirects automatically. This is the Fetch default.

Error = 1

Fails the request when a redirect is encountered.

Manual = 2

Returns an opaque redirect response instead of following the redirect.

Remarks

Supported only in HTMX 4.x.